Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Getting for() to accept a tied array in one statementby perlancar (Hermit) |
on Apr 22, 2019 at 07:41 UTC ( [id://1232860]=note: print w/replies, xml ) | Need Help?? |
What if the loop is left by last , next , redo , return or goto ? Nice catch. In the Python library, this must be handled explicitly by "closing" the iterator.
In Section
Seekers of Perl Wisdom
|
|