Hi all, I often find myself wondering "what does the PAUSE indexer do if ... ?" (and I think we've had a few discussions that involved the question.)
Well, now you can ask it yourself. http://scratchcomputing.com/svn/pausehack/trunk Just run setup.sh (if you want it to automatically checkout pause from svn and check dependencies (I think that list is partly complete.)) Then symlink bin/mldistwhat into your ~/.bin/. Running it on your prospective tarball makes a lot of noise, but tells you (roughly) what the indexer will think about it when you upload it. This is only an estimate of what will happen when it is uploaded because it omits all of the database lookups, but as far as I can tell the indexing is independent of the database (except for e.g. namespace ownership.) Don't look inside the code either ;-) So, now we have a way to verify things like: the 'provides' bit of META.yml is only currently examined if there are no .pm files found. Thus, you can upload a module claiming to provide 'bin-foo' as long as it has no .pm files. --Eric -- perl -e 'srand; print join(" ",sort({rand() < 0.5} qw(sometimes it is important to be consistent)));' --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------