Skip Menu |

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

Report information
The Basics
Id: 59321
Status: resolved
Priority: 0/
Queue: Date-Manip

People
Owner: Nobody in particular
Requestors: tilman [...] snafu.de
Cc:
AdminCc:

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



Subject: UnixDate: Not an ARRAY reference
This code: use Date::Manip; $testdatum2 = UnixDate( "01.02.2010 22:25:29", '%d.%m.%Y %H:%M:%S' ); brings this bug: Use of inherited AUTOLOAD for non-method YAML::Syck::LoadYAML() is deprecated at D:/strawberry/perl/site/lib/YAML/Syck.pm line 75, <DATA> line 335. Not an ARRAY reference at D:/strawberry/perl/site/lib/Date/Manip/Date.pm line 1352, <DATA> line 335. perl -v brings: This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-x86-multi-thread I'm using WIndows XP professional. However this works: use Date::Manip; $test3 = UnixDate( "22:25:29", '%H:%M:%S' ); print $test3 Another workaround seems to be to use version 5 of your lib (and set the timezone).
I've had this reported before, and it appears to be related to strawberry. I need to install strawberry perl and see if I can track it down.
From: tilman [...] snafu.de
It seems to be an install issue, combined with not reporting that "something is missing" at runtime. I installed Strawberry perl on my W7-64 system at home, then your package. If I copy the lib/Date directory, the error happens. If I run "perl build.pl" and then "Build installdeps", the error no longer happens. (At work, the "Build installdeps" didn't work, it stopped after Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz ). I did a few more tests... the error happens when the YAML and/or the auto directory isn't there.
Closing the ticket as it appears to be a problem (perhaps fixed since then) in strawberry install process.