Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
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
Jan 10, 2003, 9:39 AM
Paul
Veteran
(19537 posts)
Jan 10, 2003, 9:39 AM
Views: 5484
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:
Post edited by
Paul
Post edited by
Paul
(Veteran) on Jan 10, 2003, 9:39 AM
Post edited by
Paul
Post edited by
Paul
(Veteran) on Jan 10, 2003, 9:41 AM