p5-XML-Literal

embed XML directly into perl

WWW CVSWeb GITHub
  1. Package version
    p5-XML-Literal-0.02p2
  2. Maintainer
    The OpenBSD ports mailing-list

This module takes one function at its "use" line. Afterwards,
every single-line "<...>" call that looks like a XML literal
will be processed with that function, instead of the built-in
shell "glob".

use XML::Simple;
use XML::Literal \&XMLin;

# Simple element
my $xml1 = <hr/>;

  • devel/p5-Sub-Override