Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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 romping around the Monastery: (None)
    As of 2021-10-17 00:49 GMT
    Find Nodes?
      Voting Booth?
      My first memorable Perl project was:

      Results (70 votes). Check out past polls.