![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Test for the last element in a foreachby almut (Canon) |
on Aug 02, 2007 at 20:21 UTC ( [id://630387]=note: print w/replies, xml ) | Need Help?? |
Yet another variant:
Update: as to your updated question: if you want to avoid creating a named array at any price, you could do something like this (but I'm not sure if I should seriously recommend that...)
In Section
Seekers of Perl Wisdom
|
|