Skip Menu |

This queue is for tickets about the POE-Component-Cron CPAN distribution.

Report information
The Basics
Id: 35422
Status: resolved
Worked: 30 min
Priority: 0/
Queue: POE-Component-Cron

People
Owner: chris [...] fedde.us
Requestors: yorhel [...] cpan.org
Cc:
AdminCc:

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



Subject: DateTime::Event::Cron not loaded automatically
When using POE::Component::Cron->from_cron you have to load DateTime::Event::Cron manually, otherwise the function will fail with the following message: Can't locate object method "from_cron" via package "DateTime::Event::Cron" (perhaps you forgot to load "DateTime::Event::Cron"?) at /usr/lib/perl5/site_perl/5.8.8/POE/Component/Cron.pm line 139. Would be an idea to have from_cron load DateTime::Event::Cron automatically.
On Fri Apr 25 09:00:47 2008, YORHEL wrote: Show quoted text
> > Would be an idea to have from_cron load DateTime::Event::Cron
automatically. I've added that line and posted for 0.019 and will upload to pause momentarily Minor doc changes too.
Le Ven. Avr. 25 09:00:47 2008, YORHEL a écrit : Show quoted text
> When using POE::Component::Cron->from_cron you have to load > DateTime::Event::Cron manually, otherwise the function will fail with > the following message:
Too bad this has been "fixed": I think it was actually a feature because it was less modules loaded when you do not use from_cron(). See RT #44442.
seems like workarounds are holding for this.