2

I use cpanminus to install Perl packages to userspace, but i have not found idiomatic way to maintain packages afterwards. How you update, delete (with dependencies) and get overview of listed packages?

w.k
  • 8,218
  • 4
  • 32
  • 55

1 Answers1

1

You can use cpan-outdated. The man page has clear instructions for how to use with cpanminus.

pmakholm
  • 1,488
  • 8
  • 23
  • Some way to get rid of all unwanted packages with dependencies? – w.k Sep 17 '12 at 21:06
  • No. I do not think that any of the CPAN tools maintains state to decide why a module was installed (explicit request or to fulfil requirement) nor is there any static tracking of how many installed modules depend on a given module. – pmakholm Sep 18 '12 at 08:10
  • My solution is to keep track of modules I need in a number of [Task](http://search.cpan.org/perldoc?Task) inspired metapackages and then install all modules from scratch now and then. But I am also using [perlbrew](http://search.cpan.org/perldoc?perlbrew) for regular updates of perl itself. – pmakholm Sep 18 '12 at 08:19