- or download this
#!/usr/bin/env perl
use strict;
...
<param name="that_setting"></param>
</params>
</root>
- or download this
Setting already present
<root>
...
<param name="another_setting">Content here</param>
</params>
</root>
- or download this
#!/usr/bin/env perl
use strict;
...
open ( my $output, '>', 'processed.xml' ) or die $!;
print {$output} $twig -> sprint;
close ( $output );