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