Vicki Brown <[EMAIL PROTECTED]> writes: > I need HTML::FormatText. > search.cpan.org tells me this is part of both > HTML-Format-1.23 > and > libwww-perl-5.22 > > I clicked on libwww-perl-5.22 ; it's been updated; I installed > libwww-perl-5.64 > > I don't seem to have HTML::FormatText
Seach.cpan.org also tells you which version of the module exists in the distributions. You should normally always take the latest. In this case it says that: HTML::FormatText v1.18 is found in HTML-Format-1.23 HTML::FormatText v1.15 is found in libwww-perl-5.22 You want the one with the highest version number so you go with HTML-Format-1.23. The release dates should also be an indication for which links you should ignore. The reason it ends up like that is that the module used to live in the "libwww-perl", but has been moved out some time after "libwww-perl-5.22". It might have been useful if the page at: http://search.cpan.org/search?mode=module&query=HTML%3A%3AFormatText somehow indicated that "libwww-perl-5.22" is not the most recent version of "libwww-perl". Also when you click on the "libwww-perl-5.22" link you end up on a page for the latest version of "libwww-perl", currently 5.64. This is kind of wrong. I think it should have linked to: http://search.cpan.org/search?dist=libwww-perl-5.22 This page has a "Latest release" field that would make more sense if it was called "Tarball" or something like that. Here I think "Latest release" should say "libwww-perl-5.64" and point to: http://search.cpan.org/search?dist=libwww-perl > So I installed HTML-Format-1.23, which tells me it has a dependency on > HTML::Element and Font::AFM - which search.cpan.org ALSO says should be part > of libwww-perl-5.22. But again, after installing libwww-perl-5.64 I don't > have the requisite module. Again you should look for where the latest version of the module live. > According to search.cpan.org, I only need to install the libwww pacjage et > voila all will be well. But I did install libwww - even did > so perl -MCPAN -e 'install Bundle::LWP' > and all is still not well. perl -MCPAN -e 'install HTML::FormatText' should have worked. The Bundle::LWP does not include HTML::FormatText. Regards, Gisle
