Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Reading 32-bit Storable files on 64-bit system

by eserte (Deacon)
on Dec 20, 2007 at 21:37 UTC ( [id://658283]=note: print w/replies, xml ) Need Help??


in reply to Reading 32-bit Storable files on 64-bit system

If you want compatible Storable files, then you have to use nstore() instead of store() when dumping. That's all.
  • Comment on Re: Reading 32-bit Storable files on 64-bit system

Replies are listed 'Best First'.
Re^2: Reading 32-bit Storable files on 64-bit system
by marky1124 (Novice) on Dec 21, 2007 at 11:34 UTC
    Fantastic thank you. nstore() seems to allow exchange of storable files both ways round from 32-bit to 64-bit and vice versa, and there appears to be no performance or file size penalty with nstore() vs store().

    The only thing that would be better would be if retrieve() were able to use the 'longsize', 'ptrsize' and 'byteorder' values from the header and interpret the file appropriately. That would assist me with the thousands of store()'d storables I already have.

    Cheers,
    Mark

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://658283]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-20 02:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found