camelman has asked for the wisdom of the Perl Monks concerning the following question:
Is this the proper approach or am I missing a fundamental concept concept. Please help me, Monks, you're my only hope. ...Thanks...Kevinmysub1(); mysub2(); sub error { return 1; } mysub1 { if (problem){ then error(); } else { return 0; } } mysub2 { if (problem){ then error(); } else { return 0; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: return values
by c-era (Curate) on Aug 09, 2001 at 17:31 UTC | |
|
Re: return values
by clemburg (Curate) on Aug 09, 2001 at 17:34 UTC | |
|
Re: return values
by arturo (Vicar) on Aug 09, 2001 at 17:38 UTC | |
|
Re: return values
by Hofmator (Curate) on Aug 09, 2001 at 17:35 UTC |