|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: how could i captured selected data of the input ?by davido (Cardinal) |
| on Nov 08, 2006 at 22:12 UTC ( [id://583035]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You could use XML::Twig to parse the data for you, dumping it into a datastructure. Then you've got easy access to individual elements. If you want to get a snapshot of the output that XML::Twig is giving you, just print the datastructure using Data::Dumper. XML::Simple would do the trick too, but I like the reliability of XML::Twig better. See the POD for information on its simplified interface. Dave
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||