Subject: | SVG::Parser::SAX pod example |
Date: | Wed, 22 Jun 2011 09:59:49 +1000 |
To: | bug-SVG-Parser [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
The pod for SVG::Parser::SAX shows
my $svg=$parser->parse($xml);
does that parse take other style args? Eg.
use SVG;
use SVG::Parser::SAX;
my $svg = SVG->new;
my $xml = $svg->xmlify;
my $parser = SVG::Parser::SAX->new;
$parser->parse($xml);
=>
Can't use string ("<?xml version="1.0" encoding="UT"...) as a HASH ref while "strict refs" in use at /usr/share/perl5/XML/SAX/Base.pm line 2666.