There's more than one way to do things | |
PerlMonks |
Re: Is there a way to catch an error within a module?by rir (Vicar) |
on Mar 17, 2008 at 18:45 UTC ( [id://674626]=note: print w/replies, xml ) | Need Help?? |
Judging by the info given in this thread, looks like an buffer overflow bug in File::Find. Appending
"/.." when it should not.
Catching errors in Perl is done with the block form of eval. Something like: There are modules to sugar the syntax; search for "error" and "exception" on CPAN.
Be well,
In Section
Seekers of Perl Wisdom
|
|