Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: String to Perl data structure

by chromatic (Archbishop)
on Jul 13, 2007 at 06:12 UTC ( [id://626380]=note: print w/replies, xml ) Need Help??


in reply to String to PERL data structure

Can your PHP application emit JSON or YAML? If so, that's the easiest approach. Otherwise, you need to write some sort of parser for whatever data structure that string represents in Perl. Data::Dumper produces Perl code that, when evaled, produces a Perl data structure. Your example is not Perl code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2026-04-15 10:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.