PXML::Tags
use PXML::Tags qw(records protocol-version record); my $xml= RECORDS(PROTOCOL_VERSION("1.0"), RECORD("Hi"), RECORD("there!")); is ref($xml), "PXML::Element"; is $xml->string, '<records><protocol-version>1.0</protocol-version><record>Hi</record><record>there!</record></records>';
Creates tag wrappers that return PXML elements. The names of the wrappers are all uppercase, and "-" is replaced with "_".
To install PXML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PXML
CPAN shell
perl -MCPAN -e shell install PXML
For more information on module installation, please visit the detailed CPAN module installation guide.