Skip Menu |

This queue is for tickets about the Math-Pari CPAN distribution.

Report information
The Basics
Id: 49099
Status: open
Priority: 0/
Queue: Math-Pari

People
Owner: Nobody in particular
Requestors: papakenx [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Math::Pari incompatible with applications which use a DIE handler
Date: Fri, 28 Aug 2009 08:41:25 -0700
To: bug-Math-Pari [...] rt.cpan.org
From: Ken LeGro <papakenx [...] gmail.com>
ILYAZ - Line 1148 of Math::Pari contains: $f = eval { loadPari($meth) }; This code is incompatible with applications which use a DIE handler. The correct code is: $f = eval { local $SIG{__DIE__}; loadPari($meth) }; Thanks so much or all your efforts! Regards, Ken LeGro Architect, VerizonBusiness

Message body is not shown because sender requested not to inline it.

CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #49099] Math::Pari incompatible with applications which use a DIE handler
Date: Fri, 28 Aug 2009 14:09:32 -0700
To: "papakenx [...] gmail.com via RT" <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Fri, Aug 28, 2009 at 11:47:08AM -0400, papakenx@gmail.com via RT wrote: Show quoted text
> Line 1148 of Math::Pari contains: > > $f = eval { loadPari($meth) }; > > This code is incompatible with applications which use a DIE handler.
No, it is absolutely compatible. Show quoted text
> The correct code is: > > $f = eval { local $SIG{__DIE__}; loadPari($meth) };
This code is not correct. It would disable the die handler. If somebody uses a die handler, they do it ON PURPOSE. Hope this helps, Ilya