Perl√Ęs Camel and Special Variables Trying to eat him

In my previous post - downloading youtube videos with a Perl one-liner - I used Perl's special variable $_. This is just one of many Perl's special variables.

One day last year I decided to go through all the Perl's special variables carefully so I could become a better Perl programmer and make a cheat sheet which I could always keep on my desk and look things up when needed.

As I explained in the previous cheat-sheet post (awk's cheat sheet), the cheat sheets are for learning things better and not doing things blindly and looking the stuff each time up. Here is another example why cheat sheets are helpful - suppose you programmed for 5 hours and then sat back in your chair to relax for 10 minutes. You could relax by taking cheat sheet in your hands and just scan through it and remember a thing or two.

This cheat sheet contains all the perl's special variables, their description and examples where possible.

It can be nicely printed on one sheet of paper by having two pages per side. Two on one side and two on other. That's how I have printed it.

Available as usual in .doc and .pdf formats.

Download Perl's Special Variable Cheat-Sheet

PDF:
Download link: perl's special variable cheat sheet (.pdf)
Downloaded: 110982 times

Microsoft Word 2000 format (.doc):
Download link: perl's special variable cheat sheet (.doc)
Downloaded: 6189 times

Are you interested in Perl programming language? Here are three excellent books on Perl from Amazon (recommended by me):

Comments

March 29, 2009, 07:19

Cheat sheets are great for software developers of all skill level. I use them often myself, mostly for syntax checking.

There is a link above to Perl Best Practices. I have no affiliation to this site or that book, but the information in Best Practice is second only to the Perl Cookbook.

My 2cents

kangu Permalink
November 23, 2009, 12:54

Thanks pkrumins it helps a lot.

November 23, 2013, 06:20

the designs are good of watches.

November 26, 2013, 06:07

Hi Peteris,
Can I can share on my blog.Need your permission

February 06, 2014, 09:35

I really glad to see these designs well done work. amazing!

February 10, 2014, 06:53

Great article.

June 05, 2014, 22:08

I really loved your blog and ample information related to PERL and other popular programming languages.I have been reading articles about technology on many other websites too and you are contributing to the technical society.

Thanks
Susan

Craigmartin Permalink
November 27, 2014, 10:57

Special variables are the real power of the language. they will help to initiate extra features of a program.Most of the reviews on the appliances shows that consumer love to have extra features in the product.

My Little Monster Permalink
November 29, 2014, 08:22

thanks
bing wallpaper
bing wallpapers
for your support

Amirkhan Permalink
December 04, 2014, 11:24

The Most awaited Film of Amir Khan is most awaited so all the fans are desperately waiting for PK Box Office Collection also called as Peekay Box Office Collection, and will be giving the PK Box Office Prediction and the most searched terms will be PK Total Collection, PK Worldwide Collection, PK Weekend Collection, PK 1st Day Collection, PK 2nd Day Collection and PK 3rd Day Collection.....

Leave a new comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "antispam_9": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.

Advertisements