Our First Perl XML Programs

This section presents two Perl programs (including source code) using several Perl XML modules. We will demonstrate some of the topics previously discussed (XML generation, parsing, and transformation) in Chapter 1, “Basics of XML Processing in Perl,” and apply them to a simple, real-life application. We know that you’ve been patiently waiting for this moment. After all, you purchased this book to learn how to develop programs with Perl and XML, right? Well, since you asked for it, here it is.

Note

To run the programs discussed in this section, you need to install the following Perl modules:

  • XML::Simple

  • Data::Dumper

For Perl module installation instructions please see Appendix B, “Perl Essentials.”

Get XML and Perl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.