in reply to Writing Out XML using XML::Simple
You can try something like this.
-----my $file = "newfoo.xml"; open CREATE, ">$file") or die "Cannot create XML File: $!"; my $xsimple = XML::Simple->new(); print CREATE $xsimple->XMLout($config, noattr => 1, xmldecl => '<?xml version="1.0"?>'); close(CREATE);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Writing Out XML using XML::Simple
by CodeJunkie (Monk) on Apr 07, 2003 at 14:53 UTC |