Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Control Flow - Multiple returns or nested conditionals

by BrowserUk (Pope)
on Oct 07, 2010 at 16:02 UTC ( #864025=note: print w/replies, xml ) Need Help??


in reply to Control Flow - Multiple returns or nested conditionals

The two aren't the same. The second always return status = 1 regardless of whether an error has occured.

  • Comment on Re: Control Flow - Multiple returns or nested conditionals

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (1)
As of 2021-07-27 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?