in reply to Re^2: How to clean-up an autobundle so it's really "auto-installable"
in thread How to clean-up an autobundle so it's really "auto-installable"

Sometimes the simple solution isn't pure Perl.

cpanm `cat Snapshot_2014_12_29_00.pm|awk '/\:\:/{print $1}'`

I suppose I could find a way to do that in Perl but awk is simple and fast. This certainly puts lots of extra modules on cpanm's list, but it knows how to figure this stuff out.

  • Comment on Re^3: How to clean-up an autobundle so it's really "auto-installable"
  • Download Code

Replies are listed 'Best First'.
Re^4: How to clean-up an autobundle so it's really "auto-installable"
by Anonymous Monk on Dec 31, 2014 at 03:02 UTC

    Sometimes the simple solution isn't pure Perl.

    cpanp already knows how to install snapshots, there is no need for cpanm or awk here