P is for Practical | |
PerlMonks |
Re: Entering and exiting subs in styleby edoc (Chaplain) |
on May 26, 2004 at 03:20 UTC ( [id://356446]=note: print w/replies, xml ) | Need Help?? |
I'd say you want to do some (which could easily become "LOTS of") reading up on exception handling which basically involves calling 'die' in one form or another and then catching it further up your code tree. This is a fairly large subject matter so I'll just refer you to some existing threads.. 8) ..exception handling. Greatly simplified, untested code..
cheers, J
In Section
Seekers of Perl Wisdom
|
|