hi monks,

my provider recently changed the system to
Linux vm37.bln2.vrmd.de 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 17:57:31 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
(I don't know what it was before, I believe it was not 64bit)

the perl-version changed from 5.8.0 to 5.8.5.
now Storable throws this errormessage:
Byte order is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 328, at -e line 3

yes, I already tried setting $Storable::interwork_56_64bit:

perl -wle' use Storable; use Data::Dumper; $Storable::interwork_56_64bit = 1; my $h = retrieve "file.dat"; print Dumper $h ' Name "Storable::interwork_56_64bit" used only once: possible typo at - +e line 2. Byte order is not compatible at ../../lib/Storable.pm (autosplit into +../../lib/auto/Storable/_retrieve.al) line 328, at -e line 3

so what could I do to get my data back?

update: it works if I copy the files to my notebook, dump it and use this dump for storing it again with Storable. should have been obvious... it's just the 64bit-thing, not the perl-version change. I only wonder why $Storable::interwork_56_64bit doesn't work


In reply to Storable.pm: Byte order is not compatible by tinita

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.