On Mon, 19 Apr 2010 00:14:44 +0100
Mimi Cafe <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/