|
Re: XML parsing in P6: msg#00013lang.perl.perl6.compiler
On 3/12/06, Premshree Pillai <premshree.pillai@xxxxxxxxx> wrote: > On 3/13/06, Yuval Kogman <nothingmuch@xxxxxxxxxxxx> 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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: XML parsing in P6, Premshree Pillai |
|---|---|
| Next by Date: | Re: XML parsing in P6, Yuval Kogman |
| Previous by Thread: | Re: XML parsing in P6, Premshree Pillai |
| Next by Thread: | Re: XML parsing in P6, Yuval Kogman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |