develooper Front page | perl.perl5.porters | Postings from March 2003

Re: rfc: a generic solution for dual-life CPAN packages

Thread Previous | Thread Next
From:
andreas.koenig
Date:
March 28, 2003 08:55
Subject:
Re: rfc: a generic solution for dual-life CPAN packages
Message ID:
m3he9nv3c3.fsf@franz.ak.mind.de
>>>>> 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.

-- 
andreas

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About