Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1111788]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-19 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found