Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.475 kb
name 'github';
description 'Install distributions from github';
synopsis 'cpanm github:miyagawa/Plack';
author 'Tatsuhiko Miyagawa';
api_version 0.1;
hook locate_dist => sub {
my $args = shift;
if ($args->{module} =~ s/^github://) {
my($who, $what, $tag) = split '/', $args->{module};
if ($who && $what) {
$tag ||= 'master';
return "http://github.com/$who/$what/tarball/$tag";
}
}
return;
};
Jump to Line
Something went wrong with that request. Please try again.