in reply to Re^2: Learning Programming, desperately need to know what information is contained in scalar variables
in thread Learning Programming, desperately need to know what information is contained in scalar variables
Yes
@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 Section
Seekers of Perl Wisdom