Date sent: Mon, 29 Sep 2008 14:43:08 +0300 From: Vyacheslav Karamov <[EMAIL PROTECTED]> To: Rob Dixon <[EMAIL PROTECTED]> Copies to: Perl Beginners <beginners@perl.org> Subject: Re: Hash sort order
> Rob Dixon : > > Vyacheslav Karamov wrote: > > > > Are you sure you shouldn't just be using HTML::TreeBuilder? > > > > Rob > > > > > Yes I'm sure because: > 1) I need to parse XML, not HTML > 2) I have to use XML::Parser::Expat cause it is required that my program > will work as fast as possible. So, I think Perl wrapper for native > library will work faster then pure Perl parser. Most XML related modules on CPAN use some library written in C(++) to do the actual parsing. expat and libxml are most common. What they differ in is their level and interface. See http://xmltwig.com/article/ways_to_rome/ways_to_rome.html Also ... usualy the developer's time is more expensive than the computer's. How big XMLs are you gonna process, how often and what kind of processing do you need to do? It may be wise to use a little higher level module and save on development time. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/