in reply to Help !! I need to feed all errors to a subroutine
eval { # your code that may die }; if ( $@ ) { your_error_catcher( $@ ); } [download]