my $list = (2,3,4,5,6);
... makes little sense to Perl and it tells you so. You can't assign a list to a scalar.
In reply to Re: Perl Lists and Arrays
by Corion
in thread Perl Lists and Arrays
by sarathi.mh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |