I'm not sure if I understood the question, but you can use eval in the script to catch the exceptions thrown from the module.
In reply to Re^3: Question regarding handling exceptions in subroutine
by moritz
in thread Question regarding handling exceptions in subroutine
by walkingthecow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |