laziness, impatience, and hubris | |
PerlMonks |
Re: Perl's feature to determine, in current point of loop, that this is the last one?by talexb (Chancellor) |
on Jan 23, 2022 at 20:45 UTC ( [id://11140749]=note: print w/replies, xml ) | Need Help?? |
You could always watch for the last value in the list and test for that .. As you've already heard, there's nothing built in to Perl that handles that.
In Section
Seekers of Perl Wisdom
|
|