develooper Front page | perl.perl5.porters | Postings from February 2003

Re: [PATCH] $SIG::UNSAFE

Thread Previous | Thread Next
From:
Gurusamy Sarathy
Date:
February 24, 2003 13:26
Subject:
Re: [PATCH] $SIG::UNSAFE
Message ID:
200302242125.h1OLPuB17423@smtp3.ActiveState.com
On 24 Feb 2003 20:19:09 +0100, Slaven Rezic wrote:
>Here's a suggestion. It works best if PERL_SIGNALS is renamed to
>PERL_UNSAFE_ISGNALS:
>
>To set all signals to pre-5.8.0 behavior use the ALL value (or
>__ALL__, if there are systems where ALL is a valid signal name, or
>another alternative would be "1"):
>
>	PERL_UNSAFE_SIGNALS=ALL
>
>For a restricted list of signals use a space separated value:
>
>	PERL_UNSAFE_SIGNALS="USR1 ALRM" 

I wouldn't do the per-signal interface through an environment
variable.

My suggestion for PERL_SIGNALS was only as a master switch for
all signal handling (similar to how PERLIO does it for all I/O
handles) to address the 5.8.1 need for the same.

Any finer grained (typically program-specific) controls really
belong within the script, and the hope is that we can discuss
the interface at length before introducing it into 5.10.


Sarathy
gsar@ActiveState.com

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