Subject: | Disable 'exiting' warning so that next, etc works right |
Often in a catch block you want to break out of the loop, or continue to the next iteration. You can do so with 'next', 'last', and 'redo', but these give an error
Exiting subroutine via next at...
Catch blocks should run under "no warnings 'exiting'" to suppress this warning, since it is not helpful and indeed misleading in this case (the containing subroutine is not exited, just the catch block).