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

Re: lexical variables and signal handlers

by Elian (Parson)
on May 27, 2003 at 15:47 UTC ( [id://261026]=note: print w/replies, xml ) Need Help??


in reply to lexical variables and signal handlers

The answer, for perls before 5.8.0, is you don't and you shouldn't. The signal handler code you use is not interrupt safe, and will sometimes core perl if you use it. Things are better with 5.8.0, though if you build with unsafe signals you'll still have that problem.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 13:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found