openbsd-ports/textproc/p5-XML-Literal/pkg/DESCR
2006-11-11 13:28:00 +00:00

11 lines
283 B
Plaintext

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/>;