Re: conflict with Thread::Running

[email protected] (Dave Rolsky)
Newsgroups perl.datetime
Message-ID <[email protected]>
On Wed, 31 Dec 2008, [email protected] wrote:

> how do i trouble-shoot this?  conceptually, what is Thread::Running
> doing to hammer DateTime's 'now' method?
>
>
> guru> cat test
> #!/usr/bin/perl
> use DateTime;
> use Thread::Running;
> my $dt = DateTime->now( time_zone => 'local' );
>
> guru> ./test
> Could not find file for 'DateTime::TimeZone::Local::Unix' at /usr/lib/
> perl
> 5/site_perl/5.8.8/load.pm line 256.

Note this error message is coming from load.pm, which is _not_ being used 
by DateTime. Apparently, this is something Thread::Running uses, and it's 
apparently breaking module loading.

I note that load.pm has one negative review about not installing or 
working with Perl 5.8.7. It's been 18 months since the last release, and 
nearly 3 years since the last Thread::Running release.

My conclusion is that these modules are broken somehow, and not really 
supported any longer. I'd suggest looking into fixing them, or exploring 
an alternate solution. I know there are a number of actively maintained 
thread-related solutions on CPAN.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/
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.