Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Implementing the counterpart of BEGIN

by punkish (Priest)
on Feb 03, 2005 at 15:41 UTC ( [id://427682]=note: print w/replies, xml ) Need Help??


in reply to Re: Implementing the counterpart of BEGIN
in thread Implementing the counterpart of BEGIN

use sigtrap 'handler', \&my_handler, 'normal-signals'; sub my_handler { open(STDERR, ">>test.err") or die "invisible error"; warn "die-ing at " . localtime() . " because of: $!\n"; }

does the job. Many thanks for your quick help.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-16 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found