datannen has asked for the wisdom of the Perl Monks concerning the following question:
$sqlquery = "SOME UPDATE STATEMENT"; my $newsth = $dbh->prepare($sqlquery); $newsth->execute or die "3";
$SIG{__DIE__} = sub { print $query->redirect(-location=>"$redirecturl?error=@_"); };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: __DIE__ easy CGI question
by batkins (Chaplain) on Sep 30, 2003 at 01:46 UTC | |
|
Re: __DIE__ easy CGI question
by sgifford (Prior) on Sep 30, 2003 at 03:07 UTC |