"Randy W. Sims" <[EMAIL PROTECTED]> writes: > Use 'return' to exit from a subroutine. Use 'next', 'redo', 'last', > and 'goto' to alter the execution path in loop constructs; they must > appear /inside/ the block owned by the loop construct or within a > sub-block.
Ahh, ok thanks. Return turns out to be a better choice, does the job and no warnings. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>