From: Dave Rolsky Date: Mon, 8 Feb 2010 02:49:11 +0000 (-0600) Subject: Force a local-only install X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d7edc40a1bab3b6b6ff323fbe873bc907ca18d72;p=gitmo%2Fmoose-presentations.git Force a local-only install --- diff --git a/moose-class/exercises/install-moose b/moose-class/exercises/install-moose index e347e3e..1867275 100755 --- a/moose-class/exercises/install-moose +++ b/moose-class/exercises/install-moose @@ -11,9 +11,8 @@ else { CPAN::Config->load(); } -$CPAN::Config->{urllist} = - [ 'file://' . File::Spec->catdir( abs_path(q{.}), 'moosepan' ), - @{ $CPAN::Config->{urllist} } ]; +$CPAN::Config->{urllist} + = [ 'file://' . File::Spec->catdir( abs_path(q{.}), 'moosepan' ) ]; CPAN::Shell->install('Moose');