|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re^2: my $var = join('|',@array) not behavingby chromatic (Archbishop) |
| on May 09, 2008 at 06:50 UTC ( [id://685609]=note: print w/replies, xml ) | Need Help?? |
|
Parens () construct a list which you can assign to an array. Nit: parens group a list. The list is already there, but the precedence of = and , are such that without parentheses, only the first element of the list gets assigned.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||