X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=16f5ec44be6dd4196b2c110d5080e0b92bcd07dd;hb=ccc7755380b06eda39a92a6b54d2446bbc35b6e3;hp=8cb41ed11dc7a0615d9fffca575e109922d72ebf;hpb=84f65b2eb6d0807b1bc34851924fbd8c1ba6e40f;p=catagits%2FCatalyst-Plugin-Session.git diff --git a/Makefile.PL b/Makefile.PL index 8cb41ed..16f5ec4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,8 +8,8 @@ my %state = ( my @extra; foreach my $module (keys %state) { - unless ( eval "require Catalyst::Plugin::Session::State::$module" and - eval { "Catalyst::Plugin::Session::State::$module"->VERSION($state{$module}) } ) { + if ( eval "require Catalyst::Plugin::Session::State::$module" and + ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) { warn <