Re: die handler : posting again.

2002-03-01 Thread Tanton Gibbs
ROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 3:04 PM Subject: Re: die handler : posting again. > According to > perldoc -f die > and > perldoc perlvar # look at %SIG{expr} > > the die_handler will be called with the string die wa

Re: die handler : posting again.

2002-03-01 Thread Jeff 'japhy' Pinyan
On Mar 1, Sethi, Pradeep said: >I have this in my code : > >local $SIG{__DIE__} = \&die_handler; > >sub die_handler { > my (@vars)=@_; > print STDERR "\nfirst : " . $vars[0]; > print STDERR "\nsecond : " . $vars[1]; >} > >if i give : > >die ('goo','foo','bar'); > >Then I get the output : > >fi

Re: die handler : posting again.

2002-03-01 Thread Tanton Gibbs
Original Message - From: "Sethi, Pradeep" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 2:48 PM Subject: die handler : posting again. > I posted it earlier also but got no response. Posting again to > hope to get som