Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.442 kb
name 'gitpan';
description 'Install modules from gitpan';
synopsis 'cpanm gitpan:CGI-1.22';
author 'Tatsuhiko Miyagawa';
api_version 0.1;
hook locate_dist => sub {
my $args = shift;
if ($args->{module} =~ s/^gitpan://) {
my $tag = 'master';
if ($args->{module} =~ s/-([\w\._]+)$//) {
$tag = $1;
}
return "http://github.com/gitpan/$args->{module}/tarball/$tag";
}
};
Jump to Line
Something went wrong with that request. Please try again.