rs_vasu has asked for the wisdom of the Perl Monks concerning the following question:

I am not able install XML-DOM inspite of following all the instruction . Shoud I install any other modules before installing DOM

edited: Thu Mar 27 21:45:57 2003 by jeffa - title change (was: DOM)

Replies are listed 'Best First'.
Re: Problem installing XML::DOM
by grantm (Parson) on Mar 27, 2003 at 10:59 UTC

    You will need XML::Parser installed first (which in turn requires the expat library). XML::Parser comes with ActiveState Perl.

    Having said that, XML::DOM is probably not a good choice of DOM module. XML::XPath would be better and no harder to install. XML::LibXML or XML::GDOME would give even better performance but may be harder to get going.

    We could be more helpful if you'd included a copy of the errors you're getting from the install process.

Re: Problem installing XML::DOM
by zby (Vicar) on Mar 27, 2003 at 10:38 UTC
    If you do it using the CPAN module: perl -MCPAN -e shell then it will install all needed modules together with it.
Re: Problem installing XML::DOM
by mirod (Canon) on Mar 27, 2003 at 11:48 UTC

    A description of the errors you get, as well as your configuration (machine/OS/version of Perl) would be helpful. As it is I can only guess that your machine might not turned on ;--)

    On *nix, to install XML::DOM you need first to install the expat, then you can either use CPAN (or CPANPLUS) to install XML::DOM or just install XML::Parser then XML::DOM.

    On windows use ppm, I believe Activestate's repository has a ppm for DOM.