laziness, impatience, and hubris | |
PerlMonks |
Re^2: What’s the best way to get the last N elements of a Perl array?by svenXY (Deacon) |
on Apr 20, 2009 at 11:40 UTC ( [id://758678]=note: print w/replies, xml ) | Need Help?? |
nope, does not work for me:
Modification of non-creatable array value attempted, subscript -9 at array_ende.pl line 23.
whereas it does work as a two-liner (see above)
Regards, svenXY
In Section
Seekers of Perl Wisdom
|
|