Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-TimeZone CPAN distribution.

Report information
The Basics
Id: 48567
Status: resolved
Priority: 0/
Queue: DateTime-TimeZone

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

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



Subject: Eval deaths reported to sig die handlers in _load_subclass
Date: Mon, 10 Aug 2009 09:57:45 +1000
To: bug-DateTime-TimeZone [...] rt.cpan.org
From: Jim In Aus <jiminaus [...] gmail.com>
I'm using DateTime-TimeZone-0.93 with perl 5.8.9 on Mac OS X 10.5.8. My code has installed a $SIG{'__DIE__'} handler to log deaths in an automatic, unattended process. I'm getting the message "Can't locate DateTime/TimeZone/Local/darwin.pm" twice and then "BEGIN failed-- compilation aborted at (eval 1354) line 2". These are coming from the eval in the sub _load_subclass of DateTime::TimeZone::Local when it (unsuccessfully) tries to load a platform specific subclass for my platform (Mac OS X = darwin). I've submitted a patch which localises $SIG{'__DIE__'} and stops these eval deaths from being reported to programs which have a $SIG{'__DIE__'} handler installed. I've confirmed the same problem and solution using DateTime- TimeZone-0.93 with perl 5.8.8 on RHEL (unknown version).

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