>> I am reading perldoc.perl.org and am not understanding exit and die >> clearly. >> >> If I have a conditional in a sub that I want to validate with, what is >> the >> correct way to do the following: >> >> >> 1. End the sub and return back to the script without continuing >> that >> sub. > > > if (condition){last} gets you out of that loop
Ooops, meant to say if (condition){return} Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/