X-debbugs-Cc: Tatsuhiko Miyagawa <miyag...@bulknews.net>
Package: cpanminus
Version: 1.7001-1
Severity: wishlist
File: /usr/share/man/man1/cpanm.1p.gz

cpanm has commands for installing modules, uninstalling modules, but no
command to _list_ what modules we have installed.

I cannot know which modules names I can use with -U if there is no
proper way to list them.

Just like aptitude and dpkg have list methods, so should cpanm.

One way might be

$ find perl5 -maxdepth 2 -name \*.pm|wc -l
0
$ find perl5 -maxdepth 3 -name \*.pm|wc -l
2
$ find perl5 -maxdepth 4 -name \*.pm|wc -l
67
$ find perl5 -maxdepth 5 -name \*.pm|wc -l
119
$ find perl5 -maxdepth 6 -name \*.pm|wc -l
174
$ find perl5 -maxdepth 999 -name \*.pm|wc -l
438

but that probably doesn't give me the correct names I could then give to
--uninstall.

$ find perl5/man/man3/ -printf %f\\n|sed s/\\.3pm//
seems to be one way.

But then in addition one cannot tell if one will damage the dependencies
of one module by removing other modules...


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to