Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: goto in CORE::GLOBAL::exit - is it safe?

by powerman (Friar)
on Aug 30, 2007 at 16:41 UTC ( #636133=note: print w/replies, xml ) Need Help??


in reply to Re^3: goto in CORE::GLOBAL::exit - is it safe?
in thread goto in CORE::GLOBAL::exit - is it safe?

... and &Apache::exit internally call die(). And so it fail to "exit" if this code executed inside eval. This is documented issue, you can read about it here.

I just wonder why not solve this issue by replacing die() with goto()?

  • Comment on Re^4: goto in CORE::GLOBAL::exit - is it safe?

Replies are listed 'Best First'.
Re^5: goto in CORE::GLOBAL::exit - is it safe?
by SFLEX (Chaplain) on Aug 30, 2007 at 17:12 UTC
    Let me suggest this link

    http://perl.apache.org/docs/1.0/guide/intro.html#Apache__Registry

    Now im starting to scratch my head. =D
    *Edited
    and this link maybe of some intrest also.
    http://perl.apache.org/docs/1.0/guide/porting.html#die___and_mod_perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2022-01-26 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (69 votes). Check out past polls.

    Notices?