ActiveState Community

DateTime and PerlApp

Posted by frits on 2009-06-30 08:45
OS: All / Any

Hello,
I have a problem with DateTime and PerlApp.
My script runs fine with the Perl interpreter, no errors.
Unfortunately it fails when I pack it with PerlApp.

Does anyone know where to start searching?

#!/usr/bin/perl
use DateTime;
my $now = DateTime->now();
print "$now\n";

C:\Rr>test1
Can't locate DateTime/Locale/en_US.pm in @INC (@INC contains:) at (eval 915) lin e 3.
BEGIN failed--compilation aborted at envision_test1.pl line 9.

Perl: AS 5.10.0 build 1005
DateTime: 0.50
PerlApp: 7.2.0