how to avoid cpan indexing ?

From: Jaap Karssenberg (j.g.karssenberg_at_student.utwente.nl)
Date: 01/24/04


Date: Sat, 24 Jan 2004 15:15:50 +0100

I have a package that is supposed to go to cpan which contains a module
that is only needed at build/install time, so it isn't intended for
re-use and also it will never conflict with anything because it is
loaded in one special situation only. Previous experiences have learnt
me that cpan will index each and every .pm file and put it in the
database, thus my module will be indexed and cause pollution of the
database.

Now my question is, is there a way to avoid indexing, is there a way to
mark files as not to be indexed ? I see some examples use a "My::"
namespace, is this namespace perhaps special in some way ?

( please note that it isn't an option to simply give the file another
extension )

-- 
   )   (     Jaap Karssenberg || Pardus [Larus]                | |0| |
   :   :     http://pardus-larus.student.utwente.nl/~pardus    | | |0|
 )  \ /  (                                                     |0|0|0|
 ",.*'*.,"   Proud owner of "Perl6 Essentials" 1st edition :)  wannabe


Relevant Pages

  • Re: how to avoid cpan indexing ?
    ... > I have a package that is supposed to go to cpan which contains a module ... > loaded in one special situation only. ... > database, thus my module will be indexed and cause pollution of the ... > namespace, is this namespace perhaps special in some way? ...
    (comp.lang.perl.modules)
  • Re: Perl DBI
    ... > Doesn't the following command install the latest version of Perl DBI: ... I personally use the CPAN shell to install modules - but, ... > machine and I have a MS Access database on the Windows partition (which ...
    (comp.lang.perl.misc)
  • Statement handle still Active: prepare_cached
    ... I'm having a problem with one of my modules failing on ... The tests use SQLite for the database. ... The error is occuring on INSERT and UPDATE statements: ... but *every* CPAN tester sees this result. ...
    (perl.dbi.users)
  • Re: Statement handle still Active: prepare_cached
    ... The tests use SQLite for the database. ... get the warnings and I don't want new statement handles added to the ... You're right that INSERT or UPDATE statements shouldn't have Active set. ... but *every* CPAN tester sees this result. ...
    (perl.dbi.users)
  • DBIx::Migration::Directories version 0.07 failing tests
    ... Fetching with LWP: ... CPAN: Digest::SHA loaded ok ... User to connect to the database as ...
    (comp.lang.perl.modules)