On 1/31/06, The Ghost <[EMAIL PROTECTED]> wrote: > All the sudden I'm having problems with this module. Ever since I > switched servers. > > # perl -v > > This is perl, v5.8.7 built for i386-freebsd-64int > > Apache::Session is up to date (1.80). > Apache::Session::MySQL is up to date (1.01). > DBD::mysql is up to date (3.0002). > > oh, my code: > > eval { > tie %session, 'Apache::Session::MySQL', $session_id, { > Handle => $dbh, > LockHandle => $dbh > }; > }; > > if ($@) # if an error occurred, old session is unavailable; create > a new one > { > tie %session, 'Apache::Session::MySQL', undef, > { > Handle => $dbh, > LockHandle => $dbh > }; > } >
Are you sure that a. the module is installed in a directory that is in @INC and b. that you are using the module (ie use Apache::Session::MySQL;). Given that fact that it worked before, but not now I would assume that it is a module installation problem, not a code problem. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>