in reply to Re: Looped around my neck (help with my poor little loops!)
in thread Looped around my neck (help with my poor little loops!)

bad form to exit from a subroutine

Baloney! Programs should exit wherever it makes sense to exit.
Sometimes — yea, most of the time — that is in a subroutine.

(Update)

For fun, see the Single Function Exit Point anti-pattern.

jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.

  • Comment on Re: Re: Looped around my neck (help with my poor little loops!)