http://qs321.pair.com?node_id=11119570


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

  • Comment on Re^5: Learning Programming, desperately need to know what information is contained in scalar variables
  • Select or Download Code