On 3/12/06, Premshree Pillai <[EMAIL PROTECTED]> wrote: > On 3/13/06, Yuval Kogman <[EMAIL PROTECTED]> wrote: > > Paste code / errors? > > I have this bit of code: > > my $tree = XML::Parser::Lite::Tree::instance()->parse($xml_data); > > And following's the error Pugs throws out: > > unexpected ">" > expecting ":", term postfix, operator, ";" or "}" > at test.p6 line 28, column 63
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); Luke