Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Is it evaluated in scalar or list context?

by LanX (Chancellor)
on Jan 19, 2013 at 17:50 UTC ( #1014219=note: print w/replies, xml ) Need Help??


in reply to Is it evaluated in scalar or list context?

maybe your irritated by the "function-like" look of my, but

my ($var1, $var2, $var3, $var4);

is only a short form of

(my $var1, my $var2, my $var3, my $var4);

Cheers Rolf

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014219]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2016-12-10 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (160 votes). Check out past polls.