It should be:
@yahoo = @fields[1,3];
(See the "Slices" section of perldata.)
In reply to Re: accessing multiple items from array
by kyle
in thread accessing multiple items from array
by convenientstore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |