Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Everyone,
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.
This is the print statement of the perl script.
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.foreach $app(keys %appsrvr) { print "\n$app"; foreach $attribute(keys %{ $appsrvr{$app} }) { print " $appsrvr{$app}{$attribute}"; } } print "\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: PERL AND XML
by atcroft (Abbot) on Jul 30, 2005 at 18:13 UTC | |
Re: PERL AND XML
by sk (Curate) on Jul 30, 2005 at 18:08 UTC | |
Re: PERL AND XML
by pg (Canon) on Jul 30, 2005 at 19:36 UTC | |
by BaldPenguin (Friar) on Jul 30, 2005 at 20:53 UTC | |
Re: PERL AND XML
by BaldPenguin (Friar) on Jul 30, 2005 at 20:50 UTC | |
by Anonymous Monk on Jul 30, 2005 at 22:10 UTC | |
by Anonymous Monk on Jul 30, 2005 at 23:09 UTC | |
by BaldPenguin (Friar) on Jul 31, 2005 at 03:50 UTC | |
by BaldPenguin (Friar) on Jul 31, 2005 at 04:03 UTC | |
Re: PERL AND XML
by davidrw (Prior) on Jul 31, 2005 at 19:33 UTC |
Back to
Seekers of Perl Wisdom