Created
November 16, 2013 12:08
-
-
Save keisatou/7499464 to your computer and use it in GitHub Desktop.
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
cpanm -l local https://github.com/<user_name>/<repo_name>/tarball/<branch_name> | |
e.g. | |
cpanm -l local https://github.com/issm/p5-Amon2-Plugin-Model/tarball/master |
Hello! I know this is a very old gist, but just FYI for people in the future that will see this, modern cpanm
(at least, this should be true for cpanm 1.7046) could install modules from Github just like you would install modules from CPAN/MetaCPAN.
From perldoc cpanm
For a git repository, you can specify a branch, tag, or commit SHA to
build. The default is "master"
cpanm git://github.com/plack/[email protected] # tag
cpanm git://github.com/plack/Plack.git@devel # branch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What do you need to do in your github repo to make this work?