Hello XML-Datablocksters,
I am using __DATA__ for the first time and want to store XML in it and then parse the data with
my $parser = XML::LibXML->new(); my $xml = $parser->parse_fh(<DATA>);
However, I get the error
Usage: XML::LibXML::_parse_fh(self, fh, dir = &PL_sv_undef)Is <DATA> not a file handle?
Puzzled,
In reply to Parsing XML in a __DATA__ Block by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |