in reply to Re: Can't locate HTML/FormatText.pm
in thread Can't locate HTML/FormatText.pm

Thanks for this, it’s has been quite an enlightenment.

HTML::FormatText. has dependency on HTML::Element. although I have HTML::Element::Extended installed, but nmake still fails (error flagging the dependencies). Search on CPAN for HTML::Element revealed HTML::Tree instead. The later has dependencies on other 3 packages at least, and I suspect this will go on and on. None of these packages are available on any PPM3 enabled repositories listed in Perl docs!

My aim is to learn web programming. So to begin with, I started reading Perl docs on LWP and the short tutorial provided. However I could not get in grips with the document - I suspect the tutorial would a valuable reference and good aid to refresh your module knowledge once you have learnt it - Then I obtained Perl Web program book (with the pelican cover), which I think its an excellent book, but trouble is I couldn’t progress beyond the second example because of unavailability of these modules.

My questions are; Can I play LWP even though I am on an M$ WinXp operating system? Is there away that I can achieve my learning goals on win32 based system and be able to install those packages?

Thanks for your help and advise.
  • Comment on Re: Re: Can't locate HTML/FormatText.pm

Replies are listed 'Best First'.
Re: Re: Re: Can't locate HTML/FormatText.pm
by ysth (Canon) on Nov 16, 2003 at 07:56 UTC
    There is a lot of code reuse going on here. Thats a good thing, though it may not seem like it to you at the moment. I think you just need to install HTML::Tagset, HTML::Parser, and then HTML::Tree to get HTML::FormatText working ok. Persevere, it's not that much farther to go.

    Hmm. HTML::Parser is XS, but I don't see it in the Activestate repositories. But it is such a commonly used module, I must have something set up wrong in my (almost never used) ActivePerl.

      Thanks very much,....

      I've installed the modules in the sequence you have suggested (apart from HTM-Parser! got lots of errors with makefile!!), but It worked.

      Cheers.