Actually if you evaluate a list in scalar context you get the rightmost element of the list. If you evaluate an array in scalar context, you get the number of elements.
--Perl Training in the UK <http://www.iterative-software.com>
In reply to Re: Re: storing all type of vars
by davorg
in thread storing all type of vars
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |