Saturday, April 5, 2008

Related module links on search.cpan.org

Documentation pages on search.cpan.org now contain a list of related modules. For an example see LWP::UserAgent



This list is determined by data created by Perlmonks.org about which modules are discussed together.



5 comments:

  1. Cool.
    Curious that this should arrive at about the same time that Andy posted http://perlbuzz.com/2008/04/rethinking-the-interface-to-cpan.html
    Tim.
    p.s. I think the boxes on the right need another pixel or two of internal padding. They look quite cramped at the moment.

    ReplyDelete
  2. The "more..." link doesn't seem to work.
    On http://search.cpan.org/~timb/DBI-1.604/DBI.pm there are several Related Modules shown,
    but the "more..." link takes me to http://perlmonks.org/?node=cpan+module+search&pivot=1&module=DBI which shows no results.

    ReplyDelete
  3. There seems to be a mismatch between the "related modules" reported on the Speadsheet::WriteExcel on the search.cpan page: http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel/lib/Spreadsheet/WriteExcel.pm:
    * Apache::DB
    * HTML::Embperl
    * Archive::Tar
    * HTML::Mason
    * ...
    And the related modules reported on Perlmonks (via the more link): http://perlmonks.org/?node=cpan+module+search&pivot=1&module=Spreadsheet::WriteExcel
    * Win32::OLE
    * Spreadsheet::ParseExcel
    * Excel::Template
    * Parse::RecDescent
    * ...
    I would say that the latter modules are related whilst the former aren't.
    John.
    --

    ReplyDelete
  4. John,
    There was a bug in the sorting which is now fixed.

    ReplyDelete
  5. Tim,
    The code perlmonks currently uses to detect module names requires a :: so modules like DBI and CGI will not get picked up.
    They are working on fixing this, but in the meantime I manually added some into the database that search.cpan.org uses for the DBI module

    ReplyDelete