Util::Medley::XML - utility XML methods
version 0.040
my $util = Util::Medley::XML->new;
Provides utility methods for working with XML. All methods confess on error.
Beautifies an XML file. Requires the xmllint command.
$util->xmlBeautifyFile($path); $util->xmlBeautifyFile(path => $path);
Location of the xml file.
Formats an XML string. Requires the xmllint command.
$util->xmlBeautifyString($xml); $util->XmlBeautifyString(xml => $xml);
An XML string.
To install Util::Medley, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Util::Medley
CPAN shell
perl -MCPAN -e shell install Util::Medley
For more information on module installation, please visit the detailed CPAN module installation guide.