perlquestion
Anonymous Monk
Hello Everyone,
<p> I have a doubt in using XML in perl. I am trying to put an output of a perl script to an xml file. The idea being that the xml file can be opened in the MS excel spread sheet.
<p> This is the print statement of the perl script.
<code>
foreach $app(keys %appsrvr) {
print "\n$app";
foreach $attribute(keys %{ $appsrvr{$app} }) {
print " $appsrvr{$app}{$attribute}";
}
}
print "\n";
</code>
How do I put the above print stmt in an xml format file so that I can open the xml file in an excel spread sheet.
<p><small> <b><a href="?node_id=17558#codetags">CODE</a></b> tags added by [Arunbear]</small></p>
16