in reply to Re: CGI::Session isn't installed?
in thread CGI::Session isn't installed?
OK, so that does shed a little light. This is what I get back:
Software error: Can't locate CGI/Session.pm in @INC (@INC contains: /usr/local/lib/per +l5/site_perl/5.8.7/mach /usr/local/lib/perl5/site_perl/5.8.7 /usr/loc +al/lib/perl5/site_perl /usr/local/lib/perl5/5.8.7/BSDPAN /usr/local/l +ib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7 .) at libsearch-mw.cgi + line 9. BEGIN failed--compilation aborted at libsearch-mw.cgi line 9.
Here's my general code. It's a short program containing basically nothing so I can get this working. When it does I can splice it into what I'm working on.
#!/usr/bin/perl use warnings; use CGI::Carp qw(fatalsToBrowser); use Cwd; use LWP::Simple; use CGI; use CGI::Session; my $cgi = new CGI; my $sid = $cgi->param('CGISESSID') || undef; my $session = new CGI::Session("driver:File", $cgi, {Directory=>'/tmp' +});
It looks to me like the module is not there.
Thanks in advance.
Michael
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: CGI::Session isn't installed?
by EvanK (Chaplain) on May 16, 2007 at 21:29 UTC |