Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 44740
Status: resolved
Priority: 0/
Queue: DateTime

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

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



Subject: defining nanoseconds causes Undefined subroutine error.
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.
Subject: Re: [rt.cpan.org #44740] defining nanoseconds causes Undefined subroutine error.
Date: Thu, 2 Apr 2009 21:30:47 +0200
To: bug-DateTime [...] rt.cpan.org
From: "Flavio S. Glock" <fglock [...] gmail.com>
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>: Show quoted text
> 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. > > > >
Subject: Re: [rt.cpan.org #44740] defining nanoseconds causes Undefined subroutine error.
Date: Thu, 2 Apr 2009 17:39:12 -0400
To: bug-DateTime [...] rt.cpan.org
From: Jeff Kubina <jeff.kubina [...] gmail.com>
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. > > > > > > > >
> >