Just another Perl shrine | |
PerlMonks |
Re: Printing the last few elements of an array.by Molt (Chaplain) |
on Dec 16, 2002 at 14:59 UTC ( [id://220221]=note: print w/replies, xml ) | Need Help?? |
You can, of course, merge the two approaches given above as demonstrated in this little piece of code here.
I'd also like to thank rob_au and thinker since without seeing their posts next to one another I'd have not realised this nice simple way to do things- guess the random linking of ideas is one of the good things about this site. ++'s to both of you.
In Section
Seekers of Perl Wisdom
|
|