Can't locate object method "TIEHASH" via package "Apache::Session::MySQL"



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
};
}
.