11 lines
283 B
Plaintext
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/>;
|