in reply to exit calling subroutine
Thank you all for the replies.
you could stick a loop around the whole thing and call next in the subroutine instead of return
I tried exactly that but it didn't work, complaining that it couldn't find the label.
LABEL: { sub outer { inner(); } sub inner { next LABEL; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: exit calling subroutine
by Anonymous Monk on Jan 10, 2008 at 15:52 UTC |