in reply to Re^2: Getting the Behavior of the "file open or die" Pragma but with a Program Pause (-Mouse)
in thread Getting the Behavior of the "file open or die" Pragma but with a Program Pause
By that I mean trying to figure out a way to use the END block to pause, but only in the event of a die or exit and not if the script finishes and terminates normally.
perlmod notes:
Inside an END code block, $? contains the value that the program is going to pass to exit().
- tye
In Section
Seekers of Perl Wisdom