in reply to Is there a CPAN Log File?
G'day mmartin,
I needed to do something similar just yesterday. I worked with the log of cpan commands which, on my system (not MSWin), is in ~/.cpan/histfile. Luckily, this hasn't quite scrolled off the top of my screen yet:
$ perl -Mwarnings -Mstrict -Mautodie -E ' open my $fh, "<", "$ENV{HOME}/.cpan/histfile"; my @modules; my %seen; while (<$fh>) { next unless /^install (.*)$/; next if $1 =~ /^Tk/; next if $seen{$1}++; push @modules, $1; } say "force test @modules"; '
That's it verbatim. You'll need to make a few changes:
-- Ken
|
|---|