Do you know where your variables are? | |
PerlMonks |
Re^2: difference between @, $by JavaFan (Canon) |
on Dec 07, 2011 at 17:30 UTC ( [id://942291]=note: print w/replies, xml ) | Need Help?? |
Note, the parenthesis indicate that a regular array initialisation is being carried out.Eh, no. The list assignment actually stems from the LHS of the assignment being an array, not from the RHS having parens. The parens are needed because the comma has a lower precedence than the assignment operator.
In Section
Seekers of Perl Wisdom
|
|