On 3/13/06, Premshree Pillai <[EMAIL PROTECTED]> wrote:
> On 3/13/06, Luke Palmer <[EMAIL PROTECTED]> wrote:
> > Well, yeah.  Just because you're using a Perl 5 module doesn't mean
> > you use Perl 5 syntax.
> >
> >     my $tree = XML::Parser::Lite::Tree::instance().parse($xml_data);
>
> Heh. I had tried that already. :-) This is the error I get in this case:

Well, as Yuval points out, I've been dead for a while, so this bug may
have already been fixed, but if not:

    my $parser = XML::Parser::Lite::Tree::instance();
    my $tree = $parser.parse($xml_data);

Should do the trick.  This bug is perhaps one of the most annoying in
Pugs, and I have tried to fix it on several occasions with no success.

Luke

Reply via email to