Guest User

Untitled

a guest
Jan 14th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. sub xmlout {
  2. my ($conf, $filename, $root, $decl) = @_;
  3. my $parser = XML::Simple->new;
  4. open my $fh, '+<', $filename;
  5. flock($fh, 2);
  6. $parser->XMLout($conf, Outputfile => $filename, RootName => $root, XMLDecl => $decl);
  7. close($fh);
  8. }
Add Comment
Please, Sign In to add comment