CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner: Re: [1arryb] Problem with executing shell commands in perl: Edit Log


Jul 6, 2009, 12:34 PM

Views: 5402
Re: [1arryb] Problem with executing shell commands in perl

In Reply To
Heh. One of my standard questions when interviewing applicants for Perl programmer positions is, "What do curly braces ('{}') mean in Perl?" There are, in fact, 5 meanings.

UPDATE: Anyone who gets more than 3 is an immediate hire!

Well, I thought up of four, so I guess my reputation is safe. Undoubtedly the last will come to me tonight just before I fall asleep and keep me awake for hours :D

I was thinking of things like:

sub foo { 
my $var = shift;
my $var = shift;

The shift does two different things.

UPDATE: I just thought of the last. Thank the Goodness for that. Now I might get some sleep tonight ;)


I love Perl; it's the only language where you can bless your thingy.

Perl documentation is available at The list of standard modules and pragmatics is available in perlmodlib.

Get Markup Help. Please note the markup tag of "code".

(This post was edited by shawnhcorey on Jul 6, 2009, 12:54 PM)

Edit Log:
Post edited by shawnhcorey (Enthusiast) on Jul 6, 2009, 12:54 PM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives