in reply to CGI::Session and ActivePerl problem

I downloaded this myself from CPAN and put in an appropriate directory
That's likely the root of all your problems. That is not the way to install modules. Things can go wrong at every step of the install process.

Kindly read Tutorials -> A Guide to Installing Modules and perldoc perlmodinstall, then download the CGI-Session distribution from cpan, and follow what you learned in the Tutorials.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

  • Comment on Re: CGI::Session and ActivePerl problem

Replies are listed 'Best First'.
Re: Re: CGI::Session and ActivePerl problem : solved
by qadwjoh (Scribe) on Aug 29, 2003 at 11:07 UTC
    Thanks for all your help guys.

    The CGI::Session module was installed directly using PPM and didn't throw any error messages during installation. I tried downloading File.pm myself, which solved the original problem as I explained. I then tried removing it and reinstalling CGI::Session again, but to no avail.

    While CGI::Session::File.pm is part of the CGI::Session module, it's not installed by PPM. It's not the problem, however - as the other drivers all fail with the same error message. I tried installing from CPAN, using nmake, but while this installed File.pm, it didn't sort out the problem.

    However I have solved the problem - I simply downloaded the following files from CPAN : CGI::Session::File.pm, CGI::Session::ID::MD5.pm and CGI::Session::Serialize::Default.pm and installed them in appropriate directories. I then added the following lines to CGI::Session::File.pm : use CGI::Session::ID::MD5 and use CGI::Session::Serialize::Default before the line use base qw(.

    My script seems to compile now. I'll test it out and make sure it works OK though.

    Thanks,
    A