That error message means that you have Storable installed incorrectly. Some modules contain C code that must be compile for the module to be installed.

When such a module is installed, the Perl code part of the module (Storable.pm) gets installed in a subdirectory that could be shared by multiple client systems of different types using the same version of Perl (even though you aren't doing any sharing of your Perl installation via a networked file system).

Meanwhile, the compiled C code for the module (Storable.dll or Storable.so) gets installed in a different subdirecty that is specific to the system for which the code was compiled.

The error message you recieved is telling you that one copy of Storable.pm asked Dynaloader.pm to search the standard places for a Storable.dll (or Storable.so) file and the one it found was one built to work with a different version of Storable.pm.

This means that an upgrade to the Storable module was installed incorrectly or that two versions of the Storable module had been installed and one of them got removed incorrectly or you've changed what gets loaded into @INC in such a way that Perl is finding the new Storable.pm but the old Storable.dll (or Storable.so).

You could just try reinstalling the Storable module and see if that resolves the problem. Otherwise, you'll probably need to do some searching:

find2perl / -name "Storable.*" -print | perl

(and perhaps studying of how Perl modules are installed) and figure out what is going on.

The worst case would probably be removing any "perl" directories you have and reinstall Perl (and any extra modules you added).

- tye        


In reply to Re: "Storable object version 1.012 does not match $Storable::VERSION 2.04" (misinstalled) by tye
in thread "Storable object version 1.012 does not match $Storable::VERSION 2.04" moving script from PC to laptop by stu96art

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.