In scalar context, a comma-separated group of expressions is a bunch of comma operators doing their thing. In list context, a comma-separated group of expressions is a list.
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
In reply to Re: Re: Re: A list returns its last, an array returns its weight
by japhy
in thread A list returns its last, an array returns its weight
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |