Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Re: Entering and exiting subs in style

by melora (Scribe)
on May 27, 2004 at 18:45 UTC ( #357008=note: print w/replies, xml ) Need Help??

in reply to Re: Entering and exiting subs in style
in thread Entering and exiting subs in style

Why is using return() inadequate? I think I missed that part. Is it a matter of style and personal preference? I usually use return in all cases, and use returned values to distinguish a "die" situation from a successful return. Part of the reason is that I sometimes need to give the program a chance to "put away its crayons", so to speak. I realize, of course, that there's more than one way to do it. I just want to ask whether I'm missing out by doing it in my old-fashioned way.
  • Comment on Re: Re: Entering and exiting subs in style

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2023-06-06 09:24 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (26 votes). Check out past polls.