in reply to die and subroutine combo
Or if you want it performed across the board you could create a die signal handler e.gopen(TMPFILE,"<datafile.txt") or do { mysub(); die "Cant open: $!" };
See. the die docs for more info.$SIB{__DIE__} = sub { mysub(); die @_ };
_________
broquaint
|
|---|