Bug#558272: Date::Calc::Decode_Month(): argument is not a string

Vincent Lefevre vincent at vinc17.net
Wed Aug 11 08:01:55 UTC 2010


On 2010-08-11 09:39:43 +0200, Vincent Lefevre wrote:
> Well, Date::Calc 6.3 solves the problem on my machine:
> 
> $ echo Oct | perl -p -e 'use Date::Calc qw(Decode_Month); s!(\w+)!Decode_Month($1)!e'
> 10
> $ echo Oct | env -u PERL5LIB perl -p -e 'use Date::Calc qw(Decode_Month); s!(\w+)!Decode_Month($1)!e'
> Date::Calc::Decode_Month(): argument is not a string at -e line 1, <> line 1.

Hmm... I see. The XS version is also provided by the Debian package,
contrary to a CPAN installation when one doesn't explicitly ask for
this XS version.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)





More information about the pkg-perl-maintainers mailing list