I don't see it anywhere in the code that you've posted but somewhere you seem to call $Session->expired. It does not appears in CGI/Session.pm or CGI/Session/File.pm. You can try this quite simply with the following code:
#!/usr/bin/perl -l use CGI::Session; use CGI; # you seem to use a CGI object for your id...don't know why $a = CGI::Session->new(undef,new CGI,{Directory=>'/tmp'}); sub test(&) { eval { $_[0]->() }; chomp $@; print ++$b,$",$@ ? "Died: $@":"Success"; } test { $a->expire }; # 1 Success test { $a->expires }; # 2 Success test { $a->expired }; # 3 Died test { $a->jesii }; # 4 Died __END__ 1 Success 2 Success 3 Died: Can't locate auto/CGI/Session/File/expired.al in @INC ... 4 Died: Can't locate auto/CGI/Session/File/jesii.al in @INC ...
Just search your code for $Session->expired. I hope this helps.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: CGI::Session autoload failure
by antirice
in thread CGI::Session autoload failure
by JESii
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |