Flavio,
Thanks!
Jeff
--
Jeff Kubina
410-988-4436 7am-10pm EST
630-559-2931 fax
http://claimid.com/kubina
On Thu, Apr 2, 2009 at 3:31 PM, Flavio S. Glock via RT <
bug-DateTime@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=44740 >
>
> This is a quick workaround:
>
> use DateTime;
> use DateTime::Duration;
> DateTime::Duration->new(nanoseconds => 1);
>
> 2009/4/2 Jeff Kubina via RT <bug-DateTime@rt.cpan.org>:
> > Wed Apr 01 19:19:54 2009: Request 44740 was acted upon.
> > Transaction: Ticket created by jeff.kubina
> > Queue: DateTime
> > Subject: defining nanoseconds causes Undefined subroutine error.
> > Broken in: 0.47
> > Severity: (no value)
> > Owner: Nobody
> > Requestors: jeff.kubina@gmail.com
> > Status: new
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=44740 >
> >
> >
> > running the code below:
> >
> > use DateTime::Duration;
> > DateTime::Duration->new(nanoseconds => 1);
> >
> > yields the error:
> > Undefined subroutine &DateTime::INFINITY called at
> > .../perl-5.8.9/lib/site_perl/5.8.9/x86_64-linux/DateTime/Duration.pm
> > line 78.
> >
> >
> >
> >
>
>