http://www.perlmonks.org?node_id=61244


in reply to RedWolf MonkChatter

Maybe I shouldn't have ++ it this node, but I must admit that it's quite fast and simple...

Obviously the speed of the script is mainly due to the fact that strredwolf has done his own XML (pseudo)parser. I talked with him on the CB and he didn't want to have the overhead of loading the regular parsing module. I agree that the XML output for the chatterbox is really simple, but I would not advise anyone to do so, especially in the Real World ™, just to gain on the overhead of the XML parsing with tools like XML::Parser, XML::Twig, XML::Simple or XML::PYX.

Anyway, nice client strredwolf!

Update: A XML::Parser Tutorial is now available, taking the CB ticker as a parsing example.

<kbd>--
my $OeufMayo = new PerlMonger::Paris({http => 'paris.mongueurs.net'});</kbd>

Replies are listed 'Best First'.
Re: Re: RedWolf MonkChatter
by strredwolf (Chaplain) on Feb 28, 2001 at 04:45 UTC
    Thanks. Yeah, it's rather simple code tuned to PM's chatterbox XML. I've installed XML, and it's no eazy feat (aka can't be done via CPAN::shell). So I've coded my own.

    There is other problems, though. It's tuned to PM's XML. I'm looking into a new engine... but it's a nice clone of the java client.

    --
    $Stalag99{"URL"}="http://stalag99.keenspace.com";