Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: variable declaration question

by MidLifeXis (Monsignor)
on Jan 18, 2013 at 21:04 UTC ( #1014125=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print(my $foo = (1, 2, 3), "\n");
    print(my ($foo) = (1, 2, 3), "\n");
    __END__
    3
    1
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-06-19 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (114 votes). Check out past polls.

    Notices?