laziness, impatience, and hubris | |
PerlMonks |
Re^3: How to clean-up an autobundle so it's really "auto-installable"by Anonymous Monk |
on Dec 31, 2014 at 01:31 UTC ( [id://1111788]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|