Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: accessing data serialised by PHP

by ivancho (Hermit)
on Jan 22, 2009 at 04:02 UTC ( [id://738037]=note: print w/replies, xml ) Need Help??


in reply to accessing data serialised by PHP

quoting from the page
*array is unserialized as a hash, becuase PHP only has one array type +"array()", which is analagous to Perl hash's. When you try toseriali +ze a perl array, it's automagically converted into a hash with keys n +umbered from 0 up.
ie, your $h will be a hashref, no matter what you serialized

Replies are listed 'Best First'.
Re^2: accessing data serialised by PHP
by AlphaStrike (Initiate) on Jan 22, 2009 at 05:46 UTC
    treating it as a hash seems to work
    thanks! =)
    Reality is but a perception of your being.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found