in reply to Re: Last index use in array slice
in thread Last index use in array slice
Alternatively, yet still using the idea of discarding part of the output:
But, with a variable value for $index, I'd rather go the splice route.my(undef, undef, @rest) = split/\n/;
In Section
Seekers of Perl Wisdom