I'd settle for someone just explaining what the error means in English.

The error means that when you are trying to thaw your data, the version of of Storable you are using is v2.5, but it detects a v2.6 signature embedded in the data.

Because the version of Storable you are using is backlevel from the version used to freeze the data, the module aborts as it is possible that the internal format may have change between v2.5 and v2.6 and that change might mean that it will not correctly process the data, but may not be able to detect the change.

The answer woudl appear to be to upgrade the version of Storable on the machine you are trying to thaw the data to v2.6 or later.

The current CPAN version is v2.13, and this should be able to decode v2.6 data correctly.

Alternatively, CPAN also carries several (10+) generation of earlier versions. v2.6 is available here.

However, if you are running the freeze() code and thaw() code on the same setup, it seems likely that something is broken with your installation. In which case, you would probably be best to expunge all races of Storable from your system not forgetting those bits located under ../lib/auto/Storable/*/*, and then install the latest version from CPAN.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

In reply to Re: storable error by BrowserUk
in thread storable error by CassJ

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.