foo
[catagits/Catalyst-Plugin-Session.git] / Makefile.PL
1 use ExtUtils::MakeMaker;
2
3 my %state = (
4     Cookie => 0.03,
5     URI    => 0.02,
6 );
7
8 foreach my $module (keys %state) {
9     if ( eval "require Catalyst::Plugin::Session::State::$module" and
10     ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) {
11         warn <<WARN;
12
13 ********** NOTE **********
14 **************************
15
16 Catalyst::Plugin::Session::State::$module must also be updated!
17
18 The currently installed version is *not* compatible with this version of
19 Catalyst::Plugin::Session!
20
21 The updated versions have been added to the prerequisites.
22
23 **************************
24 **************************
25 WARN
26     }
27 }
28
29 WriteMakefile
30 (
31           'NAME' => 'Catalyst::Plugin::Session',
32           'VERSION_FROM' => 'lib/Catalyst/Plugin/Session.pm',
33           'PREREQ_PM' => {
34                            'Catalyst' => '5.7010',
35                            'Digest' => '0',
36                            'File::Spec' => '0',
37                            'File::Temp' => '0',
38                            'Object::Signature' => '0',
39                            'Test::Deep' => '0',
40                            'Test::Exception' => '0',
41                            'Test::MockObject' => '1.01',
42                            'Test::More' => '0',
43                            'Tie::RefHash' => '1.34',
44                          },
45           'INSTALLDIRS' => 'site',
46           'EXE_FILES' => [],
47           'SIGN'      => 1,
48           'PL_FILES'  => {}
49         )
50 ;
51
52