Hi,
I'm trying to find a way to send arguments to a subroutine which I'm referencing to via SIG{"ALRM"}.
I have a single subroutine that handled the timeouts, but I want it to get a different arguments based on the bit of code where the timeout occured, for instance.
Is this something that can be done? I haven't been able to get it to work using the above syntax.
In reply to Passing arguments to a function reference by MiniMizer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |