Skip Menu |
 

This queue is for tickets about the Date-Simple CPAN distribution.

Report information
The Basics
Id: 51164
Status: new
Priority: 0/
Queue: Date-Simple

People
Owner: Nobody in particular
Requestors: gregoa [...] debian.org
Cc:
AdminCc:

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



Subject: Constructors in subclasses don't work as functions
Date: Fri, 6 Nov 2009 14:56:57 +0100
To: bug-Date-Simple [...] rt.cpan.org
From: gregor herrmann <gregoa [...] debian.org>
Download (untitled) / with headers
text/plain 893b
Hi, this is Debian bug http://bugs.debian.org/552996 Summary: Constructors of Date::Simple (the base class) work both when called as functions (D::S::today) and when called as a class methods (D::S->today); for Date/Simple/{D8,Fmt,ISO}.pm only the class method way work: $ PERL5LIB=lib perl -MDate::Simple::Fmt -e 'print Date::Simple::Fmt::today();' Can't call method "_today" on an undefined value at lib/Date/Simple/Fmt.pm line 11. $ PERL5LIB=lib perl -MDate::Simple::Fmt -e 'print Date::Simple::Fmt->today();' 2009-10-29 Thanks in advance for looking into this issue! Cheers, gregor, Debian Perl Group -- .''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/ `- NP: Vic Chesnutt: Guilty By Association
Download signature.asc
application/pgp-signature 198b

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.