Re: Perl DBI sets $SIG{PIPE} to 'IGNORE'

[email protected] (damian keefe)
Newsgroups perl.dbi.users
Message-ID <[email protected]>
I'm no software engineer, but given that it is known that some of the  
libraries used by DBI 'mess with' signal dispositions in apparently  
unknown ways,
would it not make sense for DBI.pm to preserve the state of %SIG on  
entry and reinstate it on disconnect/END/EXIT

cheers

Damian


On 28 Jul 2010, at 19:22, Martin J. Evans wrote:
>>
> I suspect you'll find its your driver library that ignores SIGPIPE  
> as AFAIK, DBI does not.
> Oracle's OCI library changes some signal dispositions for sure and  
> sometimes SIGPIPE/SIGCHLD.
>
> Martin
>
> <snipped example code>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.