Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Storable: Byte order is not compatible

by Anonymous Monk
on Jun 19, 2012 at 22:38 UTC ( #977166=note: print w/replies, xml ) Need Help??


in reply to Re^3: Storable: Byte order is not compatible
in thread Storable: Byte order is not compatible

I forgot, if the byte order differs, len() also needs to update the length in the other order. E.g.:

sub len { my $len = unpack 'V', substr( $data, $pos, 4 ); substr( $data, $pos, 4 ) = pack 'N', $len; $pos += 4; return $len; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-01-24 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (65 votes). Check out past polls.

    Notices?