Skip Menu |
 

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 22081
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

People
Owner: domm [...] cpan.org
Requestors: jdhedden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.67
Fixed in: (no value)



Subject: Erroneous 'threads' package
Download (untitled) / with headers
text/plain 284b
The CPANTS page for 'threads' erroneously reports: Modules provided by threads threads::threads This is getting generated from the following line in threads.pm: # Declare that we have been loaded $threads::threads = 1; which is a scalar; not a package declaration.
Download (untitled) / with headers
text/plain 679b
On Fri Oct 13 10:26:27 2006, JDHEDDEN wrote: Show quoted text
> The CPANTS page for 'threads' erroneously reports: > > Modules provided by threads > threads::threads
indeed. Show quoted text
> This is getting generated from the following line in threads.pm: > > # Declare that we have been loaded > $threads::threads = 1; > > which is a scalar; not a package declaration.
No, this is not the cause of the error. As you are not storing theads.pm in the lib directory, CPANTS has to guess the name of the module. The guessing code for modules living in the top-level namespace ('threads' vs. 'Foo::Bar') was broken. The bug will be fixed in the next release (0.68). Thanks for the pointer.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.