in reply to Exception handling - try Catch Method

use Errno; OPEN: eval { open FH, '<', 'directory/myfile' or die $!; }; if ($@) { { $@ == EACCES and die $@; $@ == ENFILE and sleep(1), goto OPEN; warn $@; } }
There are interesting definitions of try and catch to be seen around the monastery, but they all boil down to the construction I show.

After Compline,
Zaxo