Moved to a minicpan based approach to packaging Moose and its deps,
[gitmo/moose-presentations.git] / moose-class / exercises / install-moose
1 #!/usr/bin/perl
2
3 use Cwd qw( abs_path );
4 use CPAN;
5 use File::Spec;
6
7 CPAN::Config->load;
8
9 $CPAN::Config->{urllist} =
10     [ 'file://' . File::Spec->catdir( abs_path(q{.}), 'moosepan' ),
11       @{ $CPAN::Config->{urllist} } ];
12
13 CPAN::Shell->install('Moose');
14