Thanks -- that helped:
$ locate /Storable.pm | xargs grep -w VERSION /usr/lib/perl5/core_perl/Storable.pm:use vars qw($canonical $forgive_m +e $VERSION); /usr/lib/perl5/core_perl/Storable.pm:$VERSION = '2.34'; /usr/lib/perl5/core_perl/Storable.pm:XSLoader::load('Storable', $Stora +ble::VERSION); /usr/lib/perl5/site_perl/Storable.pm:use vars qw($canonical $forgive_m +e $VERSION); /usr/lib/perl5/site_perl/Storable.pm:$VERSION = '2.30'; /usr/lib/perl5/site_perl/Storable.pm:XSLoader::load 'Storable', $Stora +ble::VERSION;

So I renamed the site_perl version, and now my script runs.

There are still other problems with site_perl though -- probably because in the past I've used cpanp to install modules. Now I can't re-run cpanp to update things because cpanp itself doesn't run:

$ cpanp Attempt to reload Module/Load/Conditional.pm aborted. Compilation failed in require at /usr/share/perl5/site_perl/IPC/Cmd.pm + line 50. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/IPC/Cm +d.pm line 50. Compilation failed in require at /usr/share/perl5/site_perl/CPANPLUS/C +onfig.pm line 18. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPANPL +US/Config.pm line 18. Compilation failed in require at /usr/share/perl5/site_perl/CPANPLUS/C +onfigure.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPANPL +US/Configure.pm line 7. Compilation failed in require at /usr/share/perl5/site_perl/CPANPLUS/B +ackend.pm line 7. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPANPL +US/Backend.pm line 7. Compilation failed in require at /usr/share/perl5/site_perl/CPANPLUS.p +m line 7. BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPANPL +US.pm line 7. Compilation failed in require at /usr/bin/site_perl/cpanp line 11. BEGIN failed--compilation aborted at /usr/bin/site_perl/cpanp line 11.

There's lots of stuff in /usr/share/perl5/site_perl -- I'll try getting rid of all of it temporarily to see what else breaks...

cheers, Chris


In reply to Re^6: 5.16 vs Date::Manip (data++) by ChrisDennis
in thread 5.16 vs Date::Manip by ChrisDennis

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.