in reply to Why isn't a fatal error trappable?

What does your error handler look like? That error is trappable:

#!/usr/bin/perl use strict; use warnings; eval { mod( 2 ) }; if( $@ ) { print "TRAPPED!\n"; print $@, "\n"; } sub mod { $_[0] = 1 }

-derby