in reply to Re: Re: Strange SIGNAL HANDLER behavior...
in thread Strange SIGNAL HANDLER behavior...
The difference is that you have parens following the sub name, which parses as a subroutine call. You can't create a reference to a sub invocation with particular arguments, you can only create a reference to a sub. If you need to set values in the sub, you'll need closures.
|
|---|