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....

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$
Anyone have any experience or words of advice on this one?

In reply to DateTime::Format::DateManip testing fails on install by TheBigAmbulance

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.