TGI has asked for the wisdom of the Perl Monks concerning the following question:
I recently uploaded my first CPAN module, which is yet another logging module--yeah, I know, it least it isn't a text templating module. I tried to do everything the right way, but my module doesn't show up in the search. I even registered the namespace.
I used MakeMaker to package my distribution, h2xs to build the framework (it isn't an xs module, but h2xs works well enough to lay things out that I haven't looked for a different way to generate my templates).
Looking at my directory on CPAN, I see the registered distribution, but when I click on the name, I get a not found message. The file is present--but it doesn't seem to have been indexed. I tried reindexing my file, but nothing changed.
The only clue I have is the note in the CPAN FAQ that a version number starting with an underscore (_) indicates that a file is a development version and should not be indexed combined with the note from the CPAN indexer
The following report has been written by the PAUSE namespace indexer. Please contact modules@perl.org if there are any open questions. Id: mldistwatch 645 2005-09-19 06:41:20Z k User: DAOTOAD (Mark Swayne) Distribution file: Log-WithCallbacks-1.00.tar.gz Number of files: 6 *.pm files: 1 README: No README found META.yml: Log-WithCallbacks-1.00/META.yml Timestamp of file: Thu Sep 29 20:11:21 2005 UTC Time of this run: Wed Oct 26 04:45:50 2005 UTC The following packages (grouped by status) have been found in the dist +ro: Status: Successfully indexed ============================ module: Log::WithCallbacks version: undef in file: Log-WithCallbacks-1.00/lib/Log/WithCallbacks.pm status: indexed __END__
Note that the version is listed as 'undef'. I'm not sure if that is the cause of the problem, but the FAQ entry makes me suspicious. I'm unsure why the version would be undef, as MakeMaker didn't have any trouble understanding my VERSIONFROM directive.
My assumption is that I've screwed up in some basic way--but I failed to google up an answer. I thought I'd turn to the Monastery for help before I hit up the modules list.
TGI says moo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Distribution not found on CPAN
by Joost (Canon) on Oct 26, 2005 at 17:42 UTC | |
by TGI (Parson) on Oct 27, 2005 at 02:07 UTC |