logo       

Re: XML parsing in P6: msg#00010

lang.perl.perl6.compiler

Subject: Re: XML parsing in P6

On Mon, Mar 13, 2006 at 01:00:42 +0530, Premshree Pillai wrote:
> On 3/13/06, Yuval Kogman <nothingmuch@xxxxxxxxxxxx> wrote:
> > #perl6 on freenode might be a better choice - much more people are
> > active.
>
> I know. I am currently at a friend's place, and seems like (for
> whatever reason), his ISP has blocked certain ports (don't ask me to
> use a web-based client :-p).

You can probably have a shell account on feather.perl6.nl (Juerd
needs your full name and I don't know if this can be done by proxy
or not), and definately on my machine, where you can use
screen/irssi to your heart's content, if you please.

> Okay, this works fine. But now how do I actually inline P5 code in a
> P6 program? I just tried using XML::Parser::Lite::Tree, but
> (obviously?) am getting errors.

Paste code / errors?

> > Essentialy XML::SAX wants you to inherit from some handler base
> > class, and then handle events like 'start_tag', etc.
>
> Yeah, aware - have used SAX parsers in perl and otherwise.

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.

--
() Yuval Kogman <nothingmuch@xxxxxxxxxxxx> 0xEBD27418 perl hacker &
/\ kung foo master: /me beats up some cheese: neeyah!!!!!!!!!!!!!!!!!

Attachment: pgparDFG3I5Sj.pgp
Description: PGP signature

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

News | FAQ | advertise