Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Storable: :freeze: Can php thaw?

by cormanaz (Deacon)
on Oct 17, 2009 at 21:00 UTC ( [id://801799]=note: print w/replies, xml ) Need Help??


in reply to Re: Storable: :freeze: Can php thaw?
in thread Storable: :freeze: Can php thaw?

Well I investigated this. It only has store and retrieve methods (i.e. for data serialized to file) not freeze/thaw. I did not test the retrieve function, but it looks pretty straightforward--it parses the file and uses a php unserialize function to put it back into a data structure.

I tried to see if I could feed the frozen object to that function, because I suppose in principle that out to work. Unfortunately it expects a string and the frozen object is binary, and I'm not enough of a php wizzard to figure out how to decode it two bytes at a time to a string--if that's even possible.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-18 22:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found