http://qs321.pair.com?node_id=809365


in reply to Re: Programmers Nostrums
in thread Programmers Nostrums

Does %SIG fit into that list?

Replies are listed 'Best First'.
Re^3: Programmers Nostrums
by JavaFan (Canon) on Nov 25, 2009 at 21:08 UTC
    I considered that, but if %SIG breaks "common exit", then any subroutine or function call would, wouldn't? Assuming the handler doesn't terminate the process, a signal handler returns to the point where the block was left, so it's not more an exit that calling any other sub.