Revision history for Perl extension Catalyst::Plugin::Session
+0.30 TO BE RELEASED
+ - Fix Makefile.PL's is_upgrading_needed() routine (RT #58771)
+
0.29 2009-11-04
- Fix session being deleted when you have a new session after session
expiry when calling session_is_valid method. Tests for this.
);
foreach my $module (keys %state) {
- if ( eval "require Catalyst::Plugin::Session::State::$module" and
- ${"Catalyst::Plugin::Session::State::${module}::VERSION"} < $state{$module} ) {
- warn <<WARN;
+ my $package = 'Catalyst::Plugin::Session::State::' . $module;
+
+ next if not eval "require $package;";
+ if( not eval { $package->VERSION( $state{ $module } ); } ) {
+ warn <<WARN;
********** NOTE **********
-Catalyst::Plugin::Session::State::$module must also be updated!
+$package must also be updated!
The currently installed version is *not* compatible with this version of
Catalyst::Plugin::Session!