in reply to How to end a Perl script
For completeness, add die "$file: $!"; # for example which exits unless caught by a __DIE__ handler.
I rarely embed an exit(), favoring die() instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re x 2: How to end a Perl script
by Sweeper (Pilgrim) on May 03, 2002 at 05:21 UTC | |
by dws (Chancellor) on May 03, 2002 at 07:24 UTC |