Re: Just Uploaded: ModPerl2::Tools

Torsten Förtsch <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Tuesday 02 March 2010 22:10:54 Torsten Förtsch wrote:
> Not much, just a few problems solved. Comments are welcome.
> 
> NAME
>     ModPerl2::Tools - a few hopefully useful tools
> 
yesterday after uploading, I got a "failed" message from the CPAN indexer:

The following packages (grouped by status) have been found in the distro:

Status: Permission missing
==========================

     module: Apache2::Filter
    version: 0.01
    in file: ModPerl2-Tools-0.01/lib/ModPerl2/Tools.pm
     status: Not indexed because permission missing. Current registered
             primary maintainer is APML. Hint: you can always find the
             legitimate maintainer(s) on PAUSE under "View Permissions".

     module: Apache2::RequestRec
    version: 0.01
    in file: ModPerl2-Tools-0.01/lib/ModPerl2/Tools.pm
     status: Not indexed because permission missing. Current registered
             primary maintainer is APML. Hint: you can always find the
             legitimate maintainer(s) on PAUSE under "View Permissions".

I know what I am doing. How can I get rid of these errors? I seem to remember 
there was a trick to get around this by inserting a new line between "package" 
and "Apache2::Filter". Does this still work? Would it be better to do instead 
of:

{
  package Apache2::Filter;
  sub safe_die {}
}

this:

BEGIN {
  *Apache2::Filter::safe_die=sub {};
}

or this:

sub Apache2::Filter::safe_die {}

What is best to trick the indexer?

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.