On Mon, 19 Apr 2010 00:14:44 +0100 Mimi Cafe <mimic...@googlemail.com> wrote:
> I get following error when trying to open a session using > Apache::Session::MySQL. > > > > Here is what I have > > > > 38 tie %session, " Apache::Session::MySQL", undef,{ > > 39 Handle => $dbh, > > 40 LockHandle => $dbh > > 41 }; > > > > > > Could not create new session: Can't locate object method "TIEHASH" via > package " Apache::Session::MySQL" at /var/www/cgi-bin/Lib/Session.pm > line 38. > > Could not create new session: Can't locate object method "TIEHASH" via > package " Apache::Session::MySQL" at /var/www/cgi-bin/lib/Session.pm > line 38 I really don't know, but the documentation shows; tie %hash, 'Apache::Session::MySQL', $id, { Handle => $dbh, LockHandle => $dbh }; So did you try just the single quotes? Owen -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/