P is for Practical | |
PerlMonks |
Re: Can I check if a loop's scope is entered for the first time? (state)by LanX (Saint) |
on May 05, 2018 at 17:49 UTC ( [id://1214100]=note: print w/replies, xml ) | Need Help?? |
FWIW I tried feature state with no avail. (the idea was to return a tied iterator) But this only works for the first initialization, test() is never called again
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|