http://www.perlmonks.org?node_id=1033182


in reply to Re^2: Question regarding handling exceptions in subroutine
in thread Question regarding handling exceptions in subroutine

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.