Dear Monks,
I would very much appreciate some help from the monks. I'm attempting to migrate an application suite from a 32bit Debian Sarge system with perl v5.8.4 & Storable v2.14 to a 64bit Debian Etch system with Perl v5.8.8 & Storable v2.18. Along the way I've found that the perl Storable format written out by the 32bit system can not be read by the 64bit system. When the 64bit system tries to read the 32bit systems' storable it gives the following error
Byte order is not compatible at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_retrieve.al) line 380, at ./try line 37
I may be wrong but I do not believe this to be connected to the $Storable::interwork_56_64bit flag mentioned in the Storable man page.
I've used Storable::file_magic to compare the headers of Storable files written by the two systems, the differences are as follows:
32 bit system:
'hdrsize' => 15,
'version' => '2.7',
'longsize' => 4,
'ptrsize' => 4,
'byteorder' => '1234',
64 bit system:
'hdrsize' => 19,
'version' => '2.7',
'longsize' => 8,
'ptrsize' => 8,
'byteorder' => '12345678',
I also have data being fed from another Debian Sarge system which has perl v5.8.4 and Storable v2.14. That data arrives daily.
So I'm looking for advice. Ideally I'd like to be able to configure the 64-bit system to accept the Storable files written out by the 32-bit systems. Is that possible? If not what is the least disruptive approach I can take to having all the systems singing in harmony?
Thanks very much for your attention and meditation,
Cheers,
Mark
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.