Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re: RedWolf MonkChatter

by strredwolf (Chaplain)
on Mar 01, 2001 at 06:08 UTC ( #61496=note: print w/ replies, xml ) Need Help??

in reply to Re: RedWolf MonkChatter
in thread RedWolf MonkChatter

Does XML::PYX and XML::Twig need XML::Parser(and thus expat)? I'm trying to get away from having folks need to compile that (which kinda breaks compiling though CPAN::shell).

But then, XML::PYX seems to use a similar engine that I'm using now.


Comment on Re: Re: RedWolf MonkChatter
Replies are listed 'Best First'.
Re: Re: Re: RedWolf MonkChatter
by mirod (Canon) on Mar 01, 2001 at 07:47 UTC

    All of the XML processing modules on CPAN are based on expat, including XML::Parser, XML::PYX, XML::Simple, XML::Twig and many more.

    I fail to see why it is such a problem. Yes it means you cannot install directly using CPAN. But it installs very easily under Unix and once again XML::Parser comes with Activestate's Windows port. I know CPAN is extremelly convenient but it is not the only valid method to install modules.

    If you want to do any serious XML processing you really need a proper parser. Using regexps is false laziness. It is akin to not using strict: good for a quick hack but a no-no for anything serious.

    Incidentally there are good reasons why expat is not bundled with XML::Parser anymore. It is used by other applications, Apache for example and bundling it lead to incompatibilities between the different versions and problems building them.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://61496]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2015-10-07 13:38 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (185 votes), past polls