See also perlsub
In reply to Re: How to exit out of a sub routine by toolic in thread How to exit out of a sub routine by Anonymous Monk