XML/DOM serialization
require('XML::Simple')
print %S'XML::Simple'.XMLout(
:(root => :( element => 'Some text here' )),
NoAttr => 1, RootName => '',
)
Output:
<root>
<element>Some text here</element>
</root>
require('XML::Simple')
print %S'XML::Simple'.XMLout(
:(root => :( element => 'Some text here' )),
NoAttr => 1, RootName => '',
)
<root>
<element>Some text here</element>
</root>