in reply to exiting via next: Extra careful or just bitchy?
next (perldoc -f next) is for skipping over a loop iteration. Since your subroutine does not appear to be a loop, you should probably use something like return (perldoc -f return) to exit the subroutine. Read the caveats in the documentation, though. ;)
Damon Allen Davison
|Replies are listed 'Best First'.|
Re: Re: exiting via next: Extra careful or just bitchy?
by Roy Johnson (Monsignor) on Apr 19, 2004 at 19:20 UTC
by allolex (Curate) on Apr 19, 2004 at 19:23 UTC