Home : General : Perl Programming :

General: Perl Programming: Re: [Andy] Mail Alert script. What did I do wrong?: Edit Log

Here is the list of edits for this post
Re: [Andy] Mail Alert script. What did I do wrong?
Code:

{
local $SIG{__DIE__} = sub {
print "Content-type: text/html\n\n";
print "I barfed: $_[0]";
exit;
};
die "All over the floor!";
}

That prints (to the browser) "I barfed: All over the floor!" - I didn't use Carp :)

Last edited by:

Paul: Jan 10, 2003, 9:41 AM

Edit Log: