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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.