% git-cpan clone Foo::Bar % git-cpan clone Foo-Bar-0.03.tar.gz % git-cpan clone http://... % git-cpan clone /path/to/Foo-Bar-0.03.tar.gz
This command creates the named directory, creates a new git repository, calls git-cpan-init, and then checks out the code in the master branch. If the directory is omitted, then the "humanish" part of the named module is used.
git-cpan-init
master
Mike Doherty <doherty@cpan.org>
<doherty@cpan.org>
Yanick Champoux <yanick@cpan.org>
<yanick@cpan.org>
Git::CPAN::Patch, git-cpan-init, git-cpan-import
To install Git::CPAN::Patch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::CPAN::Patch
CPAN shell
perl -MCPAN -e shell install Git::CPAN::Patch
For more information on module installation, please visit the detailed CPAN module installation guide.