Hi Ensure you have MD5 installed (Different to Digest::MD5). I'm sure you have or your test script would fail at the "use MD5;" line. Instead of putting the line "use MD5;" in your embedded perl - try putting the following line in your apache conf file along with your session handling stuff:
PerlModule MD5 Restart apache and hopefully the problem will be resolved. Hope this helps. Steve (Credit to Gerald and Angus who told me how to sort the same problem) > > Gerald! > > I recently decided to upgrade Storable and Apache::Session; the base > system is a RedHat 7.1 installation of Perl v5.6.0. > > Versions I have are found at: > > --- > <a >href="/bti/redirect.html?http://www.cpan.org/authors/id/JBAKER/Apache-Session-1.54.tar.gz" > target="newLink">http://www.cpan.org/authors/id/JBAKER/Apache-Session-1.54.tar.gz</a> > <a >href="/bti/redirect.html?http://www.cpan.org/authors/id/RAM/Storable-1.0.13.tar.gz" >target="newLink">http://www.cpan.org/authors/id/RAM/Storable-1.0.13.tar.gz</a> > > Default (stable) 1.3.3 Embperl version > --- > > My session handling is setup as: > > --- > # Setup the session handler > PerlSetEnv EMBPERL_SESSION_CLASSES "MySQL MySQL" > PerlSetEnv EMBPERL_SESSION_ARGS > "DataSource='dbi:mysql:EmbperlSessions' UserName='EmbperlSession' > Password='***' LockDataSource='dbi:mysql:EmbperlSessions' > LockUserName='EmbperlSession' LockPassword='***'" > PerlSetEnv EMBPERL_COOKIE_PATH "/ispeed" > PerlSetEnv EMBPERL_COOKIE_DOMAIN "david.net.au" > PerlSetEnv EMBPERL_COOKIE_EXPIRES " 1d" > --- > > Every now and then, mod_perl will complain: > > --- > [Mon Oct 29 15:28:15 2001] [error] Can't locate object method "hexhash" > via package "MD5" at > /usr/lib/perl5/site_perl/5.6.0/i386-linux/HTML/Embperl.pm line 1696 > --- > > This line uses MD5->hexhash(blah blah blah). > > I created a little "test.pl" on my system: > > --- > #! /usr/bin/perl > > use MD5; > > $tohash="David"; > $ourhash=MD5->hexhash($tohash); > > print "$tohahs is $ourhash\n"; > --- > > This compiles on my system. > > Now, I added the line: > > "use MD5" > > just before all the "use strict" in Embperl.pm and it's working again > now...it didn't appear in the original file. I've tried recompiling > Embperl and the same error appeared. > > Any idea what's up? > > DSL > > > -- > If we could extract all the evil from each of us, > Think of the world that we could create! > A world without anger, or violence or strife... > (From the Musical, Jekyll and Hyde) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]