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/;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Last index use in array slice
by ColonelPanic (Friar) on Dec 03, 2012 at 13:29 UTC |
In Section
Seekers of Perl Wisdom