Subject: | CGI-Session-SQLite broken, use base statements use wrong case |
On cygwin make test failes with:
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/1....
# Failed test 'use CGI::Session::SQLite;'t/1....NOK 1/1
# at t/1.t line 11.
# Tried to use 'CGI::Session::SQLite'.
# Error: Base class package "CGI::Session::ID::MD5" is empty.
# (Perhaps you need to 'use' the module which defines that package
first ...
After changing the case it works.
diff -u -r CGI-Session-SQLite/SQLite.pm
new/CGI-Session-SQLite-1.0-9G7boT/SQLite.pm
--- CGI-Session-SQLite/SQLite.pm 2008-06-01 13:09:20.750000000 +0200
+++ new/CGI-Session-SQLite-1.0-9G7boT/SQLite.pm 2008-06-01
13:08:40.562500000 +0200
@@ -7,8 +7,8 @@
use strict;
use base qw(
CGI::Session
- CGI::Session::ID::MD5
- CGI::Session::Serialize::Default
+ CGI::Session::ID::md5
+ CGI::Session::Serialize::default
);
make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/1....ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.20 cusr + 0.17 csys = 0.37 CPU)