From: Yuval Kogman Date: Mon, 16 Jul 2007 10:26:20 +0000 (+0000) Subject: foo X-Git-Tag: v0.17~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session.git;a=commitdiff_plain;h=325f6ef4c7cdb37fab9ca8ec3d1da9375e95785a foo --- diff --git a/Makefile.PL b/Makefile.PL index e5fd367..16f5ec4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,7 +9,7 @@ my @extra; foreach my $module (keys %state) { if ( eval "require Catalyst::Plugin::Session::State::$module" and - not eval { "Catalyst::Plugin::Session::State::$module"->VERSION($state{$module}) } ) { + ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) { warn < 3; +use Test::More; + +BEGIN { + if ( eval { require Catalyst::Plugin::Session::State::Cookie } ) { + plan tests => 3; + } else { + plan skip_all => "Catalyst::Plugin::Session::State::Cookie required"; + } +} my $finalized = 0;