Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Strange Win32::MsgBox behavior with PAR

by ZlR (Chaplain)
on Aug 31, 2006 at 10:33 UTC ( #570576=note: print w/ replies, xml ) Need Help??


in reply to Re: Strange Win32::MsgBox behavior with PAR
in thread Strange Win32::MsgBox behavior with PAR

Hi cdarke,

Thanks for your solution. Since this means i must eval die and "handle" every time the program dies I simply wrote a

personal_death  { Win32::MsgBox ("Error :  @_ " ,  0, $0 ) ; exit }

function . I use it instead of die thru all the code .

Now this is certainly not as clean as the SIG{__DIE__} option, so i reported a bug .

update:

$SIG{ __DIE__ } = sub { Win32::MsgBox ("Error : @_ " , 0, $0 ); exit(1 +); } ;

... is the way to do it !


Comment on Re^2: Strange Win32::MsgBox behavior with PAR
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2014-09-19 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (137 votes), past polls