Oh, I know how XML::Simple works. It just seems a lot of work to load the file into a data structure and then manually examine the data structure to find out which parts to are interested in. The XPath solution just grabs all of the correct nodes no matter where they are in the file.
There are certainly times when XML::Simple is the right tools for the job - but I don't thing this is one of them.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re^4: Extracting tagged data from a XML file
by davorg
in thread Extracting tagged data from a XML file
by theroninwins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |