Summary

As you’ve seen in this chapter, generating XML can be very straightforward and almost simple. I recommend that you use the XML::Writer to handle your XML writing needs. In some cases, you might find Perl’s print function more suitable. However, those cases are probably few and far between.

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.