Logo

Programming-Idioms

History of Idiom 104 > diff from v10 to v11

Edit summary for version 11 by daxim:
New Perl implementation by user [daxim]

Version 10

2019-09-27, 14:19:13

Version 11

2019-09-28, 00:13:29

Idiom #104 Save object into XML file

Write content of object x into file data.xml.

Idiom #104 Save object into XML file

Write content of object x into file data.xml.

Imports
use XML::LibXML qw();
Code
$x->toFile('data.xml');
Doc URL
http://p3rl.org/XML::LibXML::Document#toFile