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.71_01';
16 requires 'List::MoreUtils';
17 requires 'Sub::Exporter' => '0.972';
18 requires 'Task::Weaken' => '0';
20 # only used by oose.pm, not Moose.pm :P
21 requires 'Filter::Simple' => '0';
23 # things the tests need
24 build_requires 'Test::More' => '0.77';
25 build_requires 'Test::Exception' => '0.21';
26 build_requires 'Test::LongString';
32 # Use the cpan-smolder-stable script in the Moose svn root to figure
33 # out what on CPAN will break with the latest Moose, then update this
37 'MooseX::Singleton' => '0.12',
38 'MooseX::Params::Validate' => '0.05',
43 for my $mod ( sort keys %conflicts ) {
47 my $installed = $mod->VERSION();
48 if ( $installed le $conflicts{$mod} ) {
53 This version of Moose conflicts with the version of
54 $mod ($installed) you have installed.
56 You will need to upgrade $mod after installing
57 this version of Moose.
68 # More or less copied from Module::Build
69 return if $ENV{PERL_MM_USE_DEFAULT};
70 return unless -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT));