SIG{ALRM} = sub { Timeout($error) }; [download]
In reply to Re: Passing arguments to a function reference by choroba in thread Passing arguments to a function reference by MiniMizer