Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: map 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".

Replies are listed 'Best First'.
Re^4: map <IF> to hash with replacement
by Your Mother (Chancellor) on Feb 05, 2010 at 05:28 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://821496]
LanX yeah if God had used GIT fromn the beginning ...
[LanX]: I'm working with legacy code which was ... ehm .. hacked long before I arrived here ...
[LanX]: ... try to explain to a "senior" that code which is "working" should be altered
[LanX]: hmm looks like the EU needs to prepare for a trade war with former allies ...
[erix]: lets boycott english
[LanX]: the language or the "Anglos" in general? ;-)
[LanX]: Donald Trump's first UK post-election interview

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2017-01-16 14:55 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (151 votes). Check out past polls.