[Israel.pm] Problem timing-out a system command when script runs in the background

Pinkhas Nisanov nisanov at netvision.net.il
Sun Aug 29 10:22:52 PDT 2004

On Sunday 29 August 2004 04:31, Yuval Yaari wrote:
> Sorry if the subject isn't descriptive enough.
> I wrote a script that extracts archives (zip, tar, gz, bz2, etc)
> recursivly. I had a problem with zip files that have a password, so I just
> used the famous alarm trick (read: hack) to time it out.

set environment variable "PERL_SIGNALS" to "unsafe", e.g.:
export PERL_SIGNALS=unsafe

look for "unsafe signals" at perldelta-5.8.1

Pinkhas Nisanov

More information about the Perl mailing list