Subject: | Can't use an undefined value as an ARRAY |
I made a DLL with perl source code. It looks like everything works nice
in most computers the dll run on but ONE computer.
I don't have the computer's specifications right know but will edit this
post when I have them.
The complete error message:
Can't use an undefined value as an ARRAY reference at
/<name.dll>Date/Manip/Base.pm line 817, <DATA> line 496
Show quoted text
>perl -v
This is perl 5, version 12, subversion 3 (v5.12.3) built
(with 9 registered patches, see perl -V for more detail)
The sub from which I call to ParseDate and UnixDate
sub parseDate {
my $date = shift;
die "No date supplied\n" unless $date;
my $parsed = Date::Manip::ParseDate($date);
#print "ConvertDate parsed = $parsed\n";
die "Unparseable date\n" unless $parsed;
$formated = UnixDate($parsed,"%Y-%m-%dT%H:%M:%S");
#print "formated = $formated\n";
return $formated;
}
Thanks.
Subject: | ERROR.jpg |