in reply to Re^6: What's the right way to write a method which returns one line at a time from a file?
in thread What's the right way to write a method which returns one line at a time from a file?
You're almost in my lane :)
The key for my claim is that the return/exit/die/croak is the last unconditional statement in the if block. I might have been clearer on that.
Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom