in reply to grabbing XML in a script
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};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: grabbing XML in a script
by mirod (Canon) on Oct 16, 2003 at 08:46 UTC |