3 use inc::Module::Install;
8 all_from 'lib/Moose.pm';
12 requires 'perl' => '5.008';
13 requires 'Scalar::Util' => '1.19';
15 requires 'Class::MOP' => '0.68';
16 requires 'List::MoreUtils';
17 requires 'Sub::Exporter' => '0.972';
19 # only used by oose.pm, not Moose.pm :P
20 requires 'Filter::Simple' => '0';
22 # things the tests need
23 build_requires 'Test::More' => '0.77';
24 build_requires 'Test::Exception' => '0.21';
25 build_requires 'Test::LongString';
31 # Use the cpan-smolder-stable script in the Moose svn root to figure
32 # out what on CPAN will break with the latest Moose, then update this
36 'MooseX::Singleton' => '0.11',
37 'MooseX::Params::Validate' => '0.05',
42 for my $mod ( sort keys %conflicts ) {
46 my $installed = $mod->VERSION();
47 if ( $installed le $conflicts{$mod} ) {
52 This version of Moose conflicts with the version of
53 $mod ($installed) you have installed.
55 You will need to upgrade $mod after installing
56 this version of Moose.
67 # More or less copied from Module::Build
68 return if $ENV{PERL_MM_USE_DEFAULT};
69 return unless -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT));