logo       

Re: XML parsing in P6: msg#00012

lang.perl.perl6.compiler

Subject: Re: XML parsing in P6

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

> Ah, i thought you were a Ruby guy and since you asked what the
> XML::SAX thing was I didn't think you've used it before.

I started off with Perl. :-)

Premshree



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

News | FAQ | advertise