Fix typo in instructions
[gitmo/moose-presentations.git] / moose-class / exercises / install-moose
index e347e3e..5a2de28 100755 (executable)
@@ -11,9 +11,9 @@ else {
     CPAN::Config->load();
 }
 
-$CPAN::Config->{urllist} =
-    [ 'file://' . File::Spec->catdir( abs_path(q{.}), 'moosepan' ),
-      @{ $CPAN::Config->{urllist} } ];
+$CPAN::Config->{connect_to_internet_ok} = 0;
+$CPAN::Config->{urllist}
+    = [ 'file://' . File::Spec->catdir( abs_path(q{.}), 'moosepan' ) ];
 
 CPAN::Shell->install('Moose');