JohnSSSS has asked for the wisdom of the Perl Monks concerning the following question:
I am using the object, and getting dies - the die message I am getting is... use strict; use warnings; use base 'Class::DBI'; ...
and this has and is working on our systems for years.... $SIG{__DIE__} = \&prepareToDie; ... sub prepareToDie{ my $message=shift; # report and log the error etc ... die($message); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help! cannot solve a "die" ing problem with Class::DBI
by perrin (Chancellor) on Sep 15, 2004 at 12:43 UTC | |
by JohnSSSS (Initiate) on Sep 16, 2004 at 08:33 UTC | |
by perrin (Chancellor) on Sep 16, 2004 at 14:24 UTC | |
by JohnSSSS (Initiate) on Sep 21, 2004 at 11:23 UTC | |
|
Re: Help! cannot solve a "die" ing problem with Class::DBI
by dondelelcaro (Monk) on Sep 16, 2004 at 00:01 UTC |