Think about Loose Coupling | |
PerlMonks |
Re: Bad Module Codeby Anonymous Monk |
on Jul 11, 2003 at 16:11 UTC ( [id://273451]=note: print w/replies, xml ) | Need Help?? |
What you could do is wrap the contents of your sub in an eval block and return with an error code to the caller if eval saw an error, sort of like try/catch.
In Section
Seekers of Perl Wisdom
|
|