in reply to Accessing source after downloading modules

To test whether these modules are installed, issue the following at the command line on the target system:

perl -MHTML::Parser -MHTML::Tree -e ""

When this gives you no error messages, both modules are installed.

--Bob Niederman, http://bob-n.com

Replies are listed 'Best First'.
Re: Re: Accessing source after downloading modules
by SyN/AcK (Scribe) on Jul 18, 2003 at 16:34 UTC

    Of course, if you are using ActiveState Perl, you could use ppm. Just try either:

    C:\Perl\>ppm3 install HTML::Parser C:\Perl\>ppm3 install HTML::Tree
    or
    ppm install HTML::Parser ppm install HTML::Tree

    But actually, if you're only worried about finding the tags so that they can be later removed, you could use WAVE

    WAVE is a pretty cool tool that you can pass a webpage, then it will graphically display what would cause accessibility issues. It actually even has a toolbar you can add to Internet Explorer(or probably any web browser), that you can use.

    Hope this Helps.
      Hi, Cheers for the tips. My project is based around using regexps to parse and remove HTML tags; WAVE looks cool, but can't use it! Having problems writing the mods I've made to the HTML code back to the source file on my hard drive. The 'writing to files on my hard drive' business has my legs in a twist! Rich