>>>>> On Fri, 28 Mar 2003 08:26:45 -0600, Ken Williams <ken@mathforum.org> said: >> +lib/ # expose all packages under lib/ >> -lib/private.pm # but exclude lib/private.pm >> +lib2/Foo.pm # expose lib2/Foo.pm > Module::Build may soon do something like this, though not in as > fancy/complex a way. In the META.yml file, we may start listing all > the modules, with their versions and files, so that the CPAN indexer > doesn't have to scan through the distribution to figure it out. If > the indexer is willing to take this list as truth and not double-check > it, would this solve your problem? Yes, that's what I'd consider the ideal solution. Thanks for chiming in, Ken. > Note that this solution isn't specific to Module::Build, it just > relies on using a META.yml description file. The META.yml file ideally will make the work, that's currently done by the PAUSE indexer, unnecessary. Still that doesn't solve the problem how the developer declares namespaces to be skipped, but as the description can be given in Build.PL or Makefile.PL, it could be done in perl directly and we do not need another special file declaring something. -- andreasThread Previous | Thread Next