http://www.perlmonks.org?node_id=633806


in reply to Backticks and SIGALRM

try to use unsafe signals