@something = ... ;
or
(...) = ... ;
Are "list assignments".
The RHS (right hand side) is in list context and the resulting list will be unpacked into the LHS.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^5: Learning Programming, desperately need to know what information is contained in scalar variables
by LanX
in thread Learning Programming, desperately need to know what information is contained in scalar variables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |