Hi again, everyone... Another curly question, that seems to be causing a lot of grief, as near as I can tell...
Like a lot of folk, I'm having all sorts of troubles with getting Date::Manip to work with PDK 9.3.0 and ActiveState Perl 5.16.3 running on Windows 7.
Here's a simple Perl script that I've borrowed from elsewhere for some testing:-
use Date::Manip; BEGIN { $Date::Manip::Backend = 'DM5'; } my $version = DateManipVersion(1); print $version, "\n"; Date_Init("TZ=EAST"); #dep
Note that I've included the suggested 'backend spec' in the script.
Now, when I run this script with the Perl interpreter, everything works Ok (using both DM5 and DM6)... but if I run PerlApp.exe (from the PDK) to build a standalone .exe, the following error is shown when the resulting .exe is run:-
ERROR LOADING MODULE: Date::Manip::DM5 at /<C:\test\test.exe>Date /Manip.pm line 35. BEGIN failed--compilation aborted at test.pl line 4.
When the 'interpreted' version runs, the output is:-
6.44 [australia/sydney]
...which is what's expected.
Has anyone worked-out a way to get all this working (specifically under Windows 7)... or will I have to roll-back to Perl 5.8.9/PDK 6.0.2, which is what I've been using on WinXP..?
Thanks.
In reply to Problems with Date::Manip with ActiveState Perl/PDK by ozboomer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |