in reply to Escaping XML Reserved characters
$data =~ s/&/&/g; $data =~ s/</</g; $data =~ s/>/>/g; print "<Node1>$data</Node1>\n";
Of course, you should know that you don't need administrative rights to use Perl modules. Just put them in a directory of your own and push that library onto @INC. For example, if I installed XML::Writer as /home/sam/modules/XML/Writer.pm I'd say:
BEGIN { push(@INC, '/home/sam/modules'); } use XML::Writer;
Give it a try!
-sam
|
|---|