P is for Practical | |
PerlMonks |
Re: How to end a Perl scriptby dws (Chancellor) |
on May 02, 2002 at 21:23 UTC ( [id://163670]=note: print w/replies, xml ) | Need Help?? |
I've seen Perl scripts end in numerous ways, ...
For completeness, add die "$file: $!"; # for example which exits unless caught by a __DIE__ handler. I rarely embed an exit(), favoring die() instead.
In Section
Seekers of Perl Wisdom
|
|