Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: map <IF> to hash with replacement

by mrdvt92 (Acolyte)
on Feb 05, 2010 at 04:34 UTC ( #821496=note: print w/ replies, xml ) Need Help??


in reply to Re^2: map <IF> to hash with replacement
in thread map <IF> to hash with replacement

I would use XML::Simple. It's dead easy to bring XML in as Perl structures.

use XML::Simple qw{XMLin}; print keys %{XMLin("<root><x>1</x><y>2</y></root>")};
This prints "xy".


Comment on Re^3: map <IF> to hash with replacement
Download Code
Re^4: map <IF> to hash with replacement
by Your Mother (Canon) on Feb 05, 2010 at 05:28 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2014-12-19 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (75 votes), past polls