in reply to Passing arguments to a function reference
SIG{ALRM} = sub { Timeout($error) }; [download]