The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Petal::XML_Encode_Decode - Minimalistic module to encode / decode XML text

SYNOPSIS

  my $foo = "Foo & Bar";
  my $encoded_foo = Petal::XML_Encode_Decode::encode ($foo); # "Foo & Bar"
  print $foo eq Petal::XML_Encode_Decode::decode ($foo); # should print 1

DESCRIPTION

I had to do that operation in different places for different reasons, thus although it's not much code it's been moved it into a namespace of its own.

AUTHOR

Jean-Michel Hiver <jhiver@mkdoc.com>

This module is redistributed under the same license as Perl itself.