develooper Front page | perl.perl5.porters | Postings from May 2013

Re: Safe 2.35 localizing %SIG

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
May 22, 2013 22:58
Subject:
Re: Safe 2.35 localizing %SIG
Message ID:
CAHhgV8hhr1=E-1u4MQPMyrMGW8Us_V5serjfQ2uw4=Ori1aNEQ@mail.gmail.com
On Wed, May 22, 2013 at 11:30 PM, David Cantrell <david@cantrell.org.uk> wrote:
> I believe you!
>
> I've just spent an unproductive couple of hours trying to patch Safe.pm
> to allow me to give it a list of signals that I want to leave working
> anyway regardless of the potential problems, but couldn't figure out a
> clean way of getting them through the evals. Ah well, I'll just have to
> find another way of getting my timeout to work.

POSIX::sigaction() may allow you to create an escape hatch…

Leon

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About