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. |