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

You should also check out: Crazy Insomniac . He has a repository and takes requests. But if it is a non-XS module then you should get 'nmake' from the Microsoft site, the instructions on how to do this are in a number of places. A 'super-search' here in the monastery will produce at least one if not more good tutorials on the subject. Don't be daunted, just because youare stuck with Windows doesn't mean you cant play!

BTW - the way module names are constructed - HTML/FormatText.pm will be found in a directory of that name below one of teh directories shown in the environment variable @INC. The clue is to realise that the module itself will be HTML::FormatText. In your case it would seem that somehow a module has been built to a PPM without the dependencies being resolved.

jdtoronto

Replies are listed 'Best First'.
Re: Re: Can't locate HTML/FormatText.pm
by blackadder (Hermit) on Nov 13, 2003 at 23:24 UTC
    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.
      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.