logo       

Re: XML parsing in P6: msg#00015

lang.perl.perl6.compiler

Subject: Re: XML parsing in P6

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:

*** No such method in class Any: "&parse"
at flickr.p6 line 28, column 28-80
flickr.p6 line 37, column 5-17

Premshree



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise