puterboy has asked for the wisdom of the Perl Monks concerning the following question:
My questions are:{ local $SIG{__DIE__} = sub { warn(@_); }; eval { weather_subroutine(); }; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Best way to replace 'die' with 'warn'
by dsheroh (Monsignor) on Dec 06, 2009 at 10:22 UTC | |
by puterboy (Scribe) on Dec 06, 2009 at 10:56 UTC | |
by puterboy (Scribe) on Dec 06, 2009 at 18:13 UTC | |
|
Re: Best way to replace 'die' with 'warn' (no __DIE__)
by tye (Sage) on Dec 06, 2009 at 06:39 UTC | |
|
Re: Best way to replace 'die' with 'warn'
by bv (Friar) on Dec 06, 2009 at 03:59 UTC | |
by puterboy (Scribe) on Dec 06, 2009 at 10:36 UTC | |
|
Re: Best way to replace 'die' with 'warn'
by Marshall (Canon) on Dec 06, 2009 at 04:50 UTC |