go ahead... be a heretic | |
PerlMonks |
Re: Press enter to exitby zork42 (Monk) |
on Jul 28, 2013 at 05:50 UTC ( [id://1046711]=note: print w/replies, xml ) | Need Help?? |
A modification to kcott's case 1:
This will always prompt you to press enter, no matter how the script exits, even if an error is encountered. This can be useful if the script is running in its own window which closes when the script exits. Output:
In Section
Seekers of Perl Wisdom
|
|