Suppressing modules from indexing

2008-09-09 Thread Johan Vromans
Hi,

I have a dist with a plethora of modules (in directory lib) that are
specific to the application and therefore need not be indexed.
Actually, it is undesired to have them indexed.

I tried to put

 provides:
   MyApp:
 file: lib/MyApp.pm
 version: 1.04
 no_index:
   directory:
 - inc
 - lib

in META.yaml but Build dist happily removes the 'lib' and adds all
the modules to the 'provides' list again.

What am I doing wrong?

On a related issue: are scripts in the script directory automatically
indexed, or must they have an executable permission?

Thanks for your wishdom.

-- Johan




Re: Suppressing modules from indexing

2008-09-09 Thread Eric Wilhelm
# from Johan Vromans
# on Tuesday 09 September 2008 03:21:

 no_index:
   directory:
     - inc
     - lib

in META.yaml but Build dist happily removes the 'lib' and adds all
the modules to the 'provides' list again.

Module::Build doesn't read META.yml.

You want to put a no_index = {...} in your call to the constructor.

You also want to send a documentation patch for that.

--Eric
-- 
Left to themselves, things tend to go from bad to worse.
--Murphy's Corollary
---
http://scratchcomputing.com
---