![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^2: Perl's feature to determine, in current point of loop, that this is the last one? (updated: while unpredictable)by ikegami (Patriarch) |
on Jan 23, 2022 at 17:32 UTC ( #11140745=note: print w/replies, xml ) | Need Help?? |
It can't be solved generically for while loops.
But, you can "peek ahead" sometimes.
In Section
Seekers of Perl Wisdom
|
|