in reply to How does the CPAN indexer determin documentation

UTSL

git://github.com/andk/pause.git

http://github.com/andk/pause

  • Comment on Re: How does the CPAN indexer determin documentation

Replies are listed 'Best First'.
Re^2: How does the CPAN indexer determin documentation
by SBECK (Chaplain) on Oct 13, 2010 at 16:34 UTC
    Thanks. I was able to disguise the '=head1' strings and I believe that this is fixed. I'll know next time I release it.
Re^2: How does the CPAN indexer determin documentation
by DrHyde (Prior) on Oct 14, 2010 at 09:26 UTC

    Wrong S, L. The problem is with documentation being displayed on search.cpan.org, not PAUSE. All PAUSE does is figure out what versions of what modules are in a distribution. It assumes something is a module if it matches "/package\s+[\w:]+\s*;/" so if you want to "hide" a module from the indexer, the trick is to write the package declaration thus:

    package # blahblahblah;

    but you very rarely have to do this. And in any case, PAUSE doesn't index pure documentation files - if you look in 02packages, nary a mention will you find of Date::Manip::TZ::$module.

    Unfortunately, the source for search.cpan.org isn't available. It's maintained by GBARR, so you might like to submit a bug report to him.