Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by jdporter (Paladin)
on Mar 17, 2003 at 02:50 UTC ( [id://243564]=note: print w/replies, xml ) Need Help??


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!)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://243564]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-24 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found