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 "_".
This is alpha software! Read the status section in the package README or on the website.
To install FunctionalPerl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FunctionalPerl
CPAN shell
perl -MCPAN -e shell install FunctionalPerl
For more information on module installation, please visit the detailed CPAN module installation guide.