|
|
| "be consistent" | |
| PerlMonks |
Re: variable declaration questionby tobyink (Monsignor) |
| on Jan 18, 2013 at 21:00 UTC ( #1014123=note: print w/ replies, xml ) | Need Help?? |
|
None. If you're declaring and assigning multiple variables at the same time, the version with the parentheses is more useful...
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||