in reply to Re: How to end a Perl script
in thread How to end a Perl script

if (caller) {return} else {exit}; "exit" is a pain if later you decide to call the scritp from somewhere else with a "do".