Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Kindly suggest a good starting point for XML Parsing.

by tobyink (Abbot)
on Jan 04, 2012 at 00:44 UTC ( #946173=note: print w/ replies, xml ) Need Help??


in reply to Re: Kindly suggest a good starting point for XML Parsing.
in thread Kindly suggest a good starting point for XML Parsing.

Meh. How do you represent this structure in JSON?

my $a = []; my $b = { a => $a }; push @$a, $b; print to_json($a); # ???

Real life needs you to be able to deal with structures like that. XML and JSON are both poor serialisations for real life data. YAML is somewhat better in this regard but has its own shortcomings.


Comment on Re^2: Kindly suggest a good starting point for XML Parsing.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-09-16 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (157 votes), past polls