Hmm.. my attachment didn't come through. I'll try pasting it in here.
--- CGI-Session-Auth-0.13/Makefile.PL Fri Sep 26 02:30:48 2003
+++ CGI-Session-Auth-0.13-modified/Makefile.PL Wed Oct 29 14:40:02 2003
@@ -6,6 +6,7 @@
'NAME' => 'CGI::Session::Auth',
'VERSION' => '0.13',
PREREQ_PM => {
+ 'CGI::Session' => 0,
'Digest::MD5' => '0',
},
($] >= 5.005 ? ## Add these new keywords supported since 5.005
diff -r --unified CGI-Session-Auth-0.13/t/base.t
CGI-Session-Auth-0.13-modified/t/base.t
--- CGI-Session-Auth-0.13/t/base.t Fri Sep 26 08:30:53 2003
+++ CGI-Session-Auth-0.13-modified/t/base.t Wed Oct 29 14:40:02 2003
@@ -1,18 +1,22 @@
-use Test::More tests => 13;
-
-BEGIN {
- use_ok('CGI::Session::Auth');
-}
-require_ok('CGI::Session::Auth');
+use Test::More;
eval "use CGI";
if ($@) {
- skip_all("no CGI module");
+ plan skip_all => "no CGI module";
}
+
eval "use CGI::Session";
if ($@) {
- skip_all("no CGI::Session module");
+ plan skip_all => "no CGI::Session module";
}
+
+plan tests => 13;
+
+BEGIN {
+ use_ok('CGI::Session::Auth');
+}
+require_ok('CGI::Session::Auth');
+
my $cgi = new CGI;
my $session = new CGI::Session(undef, $cgi, {Directory=>'/tmp'});