in reply to Hiding classes (package names) from CPAN

I found this trick googling: divide the package declaration in two lines...
package # avoid cpan indexing Foo::Bar;

Replies are listed 'Best First'.
Re^2: Hiding classes (package names) from CPAN
by stvn (Monsignor) on Jun 05, 2005 at 22:01 UTC

    FWIW, I know this works well as it is the trick that DBI uses to hide the DBI::dr, DBI::db and DBI::st packages from CPAN.

    -stvn