I have upgraded my system from Ubuntu 11.10 to 12.04, and a script I wrote chokes on execution looking for the module 'use DateTime::Format::DateManip;'.
dpich@dpich-M6400:~/Documents/Copyright$ perl ./script.pl Can't locate DateTime/Format/DateManip.pm in @INC (@INC contains: /etc +/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib +/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./scri +pt.pl line 14. BEGIN failed--compilation aborted at ./script.pl line 14. dpich@dpich-M6400:~/Documents/Copyright$
So just install the module. But....
Anyone have any experience or words of advice on this one?dpich@dpich-M6400:~/Documents/Copyright$ sudo perl -MCPAN -e 'install +DateTime::Format::DateManip' Reading '/root/.cpan/Metadata' Database was generated on Fri, 04 May 2012 03:27:03 GMT Running install for module 'DateTime::Format::DateManip' Running make for B/BB/BBENNETT/dt-fmt-datemanip/DateTime-Format-DateMa +nip-0.04.tar.gz Checksum for /root/.cpan/sources/authors/id/B/BB/BBENNETT/dt-fmt-datem +anip/DateTime-Format-DateManip-0.04.tar.gz ok CPAN.pm: Building B/BB/BBENNETT/dt-fmt-datemanip/DateTime-Format-Dat +eManip-0.04.tar.gz Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'DateTime-Format-DateManip' version '0 +.04' Building DateTime-Format-DateManip BBENNETT/dt-fmt-datemanip/DateTime-Format-DateManip-0.04.tar.gz ./Build -- OK Running Build test t/00load.t ......... ok t/01conversions.t .. 1/6 # Failed test 'Parse Date 'March 23, 2003'' # at t/01conversions.t line 67. # got: '2003-03-22T09:00:00.000000000 EST # ' # expected: '2003-03-23T00:00:00.000000000 EST # ' # Failed test 'Format Date '2003-03-23T00:00:00'' # at t/01conversions.t line 73. # got: '2003032318:00:00' # expected: '2003032303:00:00' # Failed test 'Format Date '2003-03-23T12:00:00'' # at t/01conversions.t line 73. # got: '2003032406:00:00' # expected: '2003032315:00:00' # Looks like you failed 3 tests of 6. t/01conversions.t .. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/6 subtests Test Summary Report ------------------- t/01conversions.t (Wstat: 768 Tests: 6 Failed: 3) Failed tests: 1, 3-4 Non-zero exit status: 3 Files=2, Tests=7, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.73 cusr + 0.05 csys = 0.81 CPU) Result: FAIL Failed 1/2 test programs. 3/7 subtests failed. BBENNETT/dt-fmt-datemanip/DateTime-Format-DateManip-0.04.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports BBENNETT/dt-fmt-datemanip/DateTime-Format-DateManip-0.04.tar +.gz Running Build install make test had returned bad status, won't install without force dpich@dpich-M6400:~/Documents/Copyright$
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |