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

Hi, I have a HTML content in a variable ( $html ), I have to parse this content in HTML::DOM. It had successfully worked form file using parse_file(), as well as file handle using $html = do { local $/; <IN> }; $dom_tree->write($Entire_file); $dom_tree->close; How Do I parse using a variable with the entire HTML, my variable is $html ( with HTML content ) Thanks

Replies are listed 'Best First'.
Re: Install HTML::Tidy
by marto (Cardinal) on Mar 14, 2008 at 10:20 UTC
    hi jai_dgl,

    If you are using ActiveState Perl on Windows you should use ppm to install the modules, on linux use cpan. For further information check out Installing Modules from the tutorials section of this site.

    Hope this help

    Martin