in reply to How to create XML tree from non-XML source
use XML::Simple qw(XMLout); my $data={book=>[{name=>"test",author=>"H3"},{name=>"test2",author=>"H +4"}]}; print XMLout($data,NoAttr=>1,RootName=>"books");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to create XML tree from non-XML source
by H4 (Acolyte) on Sep 08, 2008 at 17:17 UTC |