2) In the timeout_func function, is there a way of getting the function name from the coderef somehow, so that when this times out, I can log the function name of the function that has taken longer than the timeout value?See Re: Getting name of sub from a hash-based dispatch table? for a function to convert a coderef to sub name.
In reply to Re: Re: Re: Passing function to a function using \&<function name> method
by ysth
in thread Passing function to a function using \&<function name> method
by rich_d_thomas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |