Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: RFC: User subroutine hinting interface for autodie

by pjf (Curate)
on Mar 05, 2009 at 13:11 UTC ( #748516=note: print w/ replies, xml ) Need Help??


in reply to Re: RFC: User subroutine hinting interface for autodie
in thread RFC: User subroutine hinting interface for autodie

autodie doesn't change what a subroutine returns, it only causes subroutines to throw an exception if that subroutine would have returned in failure.

The exception to this is autodying system, which returns the exit value, rather than $?. If the command doesn't get around to exiting (because it's killed by a signal, or failure to start), then it doesn't return, it throws an exception instead.


Comment on Re^2: RFC: User subroutine hinting interface for autodie

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-12-25 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls