Created
November 9, 2010 08:22
-
-
Save onishi/668857 to your computer and use it in GitHub Desktop.
cpanm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
system( | |
"$ENV{HOME}/perl5/bin/cpanm", | |
map { | |
s/\.pm$// and s{/}{::}g; # Can't locate | |
s/^perl-// and s{-}{::}g; # yum | |
$_; | |
} @ARGV | |
); |
cool
kool
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can copy and paste to cpanm
cpanm perl-Foo-Bar # rpm package like
cpanm Foo/Bar.pm # Can't locate in Foo/Bar.pm @inc