Look at XML::Simple, which slurps incoming XML into a hash.
use XML::Simple; my $data = ""; { local $/; $data = <STDIN>; } my $ref = XMLin($data); print $ref->{xml-key};
In reply to Re: grabbing XML in a script
by idsfa
in thread grabbing XML in a script
by bear0053
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |