rbi has asked for the wisdom of the Perl Monks concerning the following question:
and so on several times.$error_msg = sub1(); return $error_msg if ($error_msg ne ()); $error_msg = sub2(); return $error_msg if ($error_msg ne ());
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Managing errors in subroutines
by Bilbo (Pilgrim) on Apr 16, 2003 at 09:48 UTC | |
by rbi (Monk) on Apr 16, 2003 at 09:55 UTC | |
|
Re: Managing errors in subroutines
by zby (Vicar) on Apr 16, 2003 at 09:54 UTC | |
by adrianh (Chancellor) on Apr 16, 2003 at 12:00 UTC | |
|
Re: Managing errors in subroutines
by Joost (Canon) on Apr 16, 2003 at 15:37 UTC | |
|
Re: Managing errors in subroutines
by godzirra (Acolyte) on Apr 16, 2003 at 12:14 UTC | |
by Improv (Pilgrim) on Apr 16, 2003 at 12:39 UTC | |
|
Re: Managing errors in subroutines
by rupesh (Hermit) on Apr 16, 2003 at 10:03 UTC | |
|
Re: Managing errors in subroutines
by shotgunefx (Parson) on Apr 16, 2003 at 20:51 UTC |