in reply to Revised: Storable data retrieval
Oh I think I missed the problem in your earlier post... I was confused as to why on earth you would want to unpack() the data you just froze...
In any case your original question stated: "How do I thaw and retrieve data from a 'Sorable file'". Well, you use store() and retrieve(). That's why I replied to rtfm, cause it looked like you were trying to thaw it with some pack()/unpack() magic...
But upon examining your code, I see that it has nothing to do with Storable, but a simple error...
In your original post, you freeze a ref to a hash, and then when you thaw, you try to dereference it to an array.... that's all there is to it.
In any case, I don't think you really should be doing this pack unpack stuff unless there's some reason you just cannot use store/nstore and retrieve
And you might want to lose the atitude when somebody is pointing an obvious flaw in your code, even if that doesn't solve your problems immediately. In the long run, it will be better if you listen to these details.
|
|---|