Skip Menu |

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

Report information
The Basics
Id: 24163
Status: resolved
Priority: 0/
Queue: Module-ScanDeps

People
Owner: Nobody in particular
Requestors: adrianissott [...] hotmail.com
Cc:
AdminCc:

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



Subject: scandeps.(bat|pl) is confusing when it comes to CPAN / core modules
Hi, I have a few issues here. Some may just be my lack of understanding but hopefully not all: i) When I first ran scandeps I did so without CPANPLUS installed. However, the .(pl|bat) didn't give me a warning even though I used the - B option. It should which should be fairly easy to add this in the _modtree subrountine. ii) Because of (i) all my modules were marked as ? which in the legend means "NotOnCPAN". However, that's not actually true so it'd be clearer to say "NotFoundOnCPAN". iii) In the case where -B isn't specified to the .(pl|bat) all of my modules were marked with ? which according to the legend means "NotOnCPAN". However, no check was made so no modules should be marked at all with a ? or even a S. NB even if you fix (ii) as suggested this would still apply. iv)There are some typos in the documentation: A) "If you have CPANPLUS installed, modules that are part of an earlier module's distribution with be denoted with S;" should be "If you have CPANPLUS installed, modules that are part of an earlier module's distribution will be denoted with S;". B) "Also, if the -B option is specified, module belongs to a perl distribution on CPAN (and thus uninstallable by CPAN.pm or CPANPLUS.pm) are marked with C." should be "Also, if the -B option is specified, modules belonging to a perl distribution on CPAN (and thus uninstallable by CPAN.pm or CPANPLUS.pm) are marked with C." v) The following sentence is confusing "Also, if the -B option is specified, module belongs to a perl distribution on CPAN". Do you actualy mean: "Also, if the -B option is specified, module belongs to the core perl distribution on CPAN"? I think some of the confusion arises because the -B option does more than one thing. E.g. it: I) Checks if a module is part of perl's Core (by seeing if it's in $Config::Config{privlib} or $Config::Config{archlib}. II) Looks up a module on CPAN. I suggest that -B becomes two different options to separate the two things it does. Then the inputs would follow the output of the . (pl|bat) which does have this separation. FYI, I'm using the following: * Module-ScanDeps [0.70] * perl, v5.8.4 built for MSWin32-x86-multi-thread, Binary build 810 provided by ActiveState Corp. * Windows XP, Version 2002, Service Pack 2 Regards, Adrian