$data =~ s/&/&/g; $data =~ s//>/g; print "$data\n"; #### BEGIN { push(@INC, '/home/sam/modules'); } use XML::Writer;