in reply to XML and Perl
You probably want to check out XML::Parser and XML::Simple.. also here are a few other links for you:
- XML Parser Tutorial by OeufMayo
- Perl XML Quick Start
- Perl & XML - an O'reilly book you may want to invest in.