Skip Menu |

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

Report information
The Basics
Id: 118955
Status: rejected
Priority: 0/
Queue: App-Module-Lister

People
Owner: Nobody in particular
Requestors: KES [...] cpan.org
Cc:
AdminCc:

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



Subject: Feature request: implement option to list packages
When we run command we have bunch of perl Lister.pm PPI::Token::Separator 1.215 PPI::Token::Structure 1.215 PPI::Token::Symbol 1.215 PPI::Token::Unknown 1.215 PPI::Token::Whitespace 1.215 PPI::Token::Word 1.215 when we run cpan -a we can see that all modules related to one package: cpan -a PPI::Token::Separator 1.215 1.220 MITHALDU/PPI-1.220.tar.gz PPI::Token::Structure 1.215 1.220 MITHALDU/PPI-1.220.tar.gz PPI::Token::Symbol 1.215 1.220 MITHALDU/PPI-1.220.tar.gz PPI::Token::Unknown 1.215 1.220 MITHALDU/PPI-1.220.tar.gz PPI::Token::Whitespace 1.215 1.220 MITHALDU/PPI-1.220.tar.gz PPI::Token::Word 1.215 1.220 MITHALDU/PPI-1.220.tar.gz I will be handy to get list of packages only: MITHALDU/PPI-1.215.tar.gz 1.220
Sorry, I mean distributions only
This is actually a very complicated problem and was the focus of my DPAN work. I have stuff to map files back to the distributions they came from, but it takes an enormous database to do so. There are all sorts of special cases and multi-variate problems to work out. App::Module::Lister is something specifically-designed for a particular purpose, as it says in the docs: "This is a program to list all of the Perl modules it finds in @INC for a no-shell web hosting account."