Ideally, I'd like some sort of wrapper sub that takes a subref and a timeout value as parameters and then returns undef on timeout and the subroutine value should the sub return in time. I could also envision some sort of closure type setup where this works.
Please enlighten this humble monk.
In reply to Possible to write a sub that times out??? by geekondemand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |