Hello Perrin,

I'm now back again. I don't think that this is a problem of the path. As I 
wrote, I can use this module from pure perl script but not together with mason. 
I have read somewhere in internet that one should not use CGI module in mason 
when using mod_perl and not CGI to handle the mason pages. But may be I'm wrong.

Here is my configuration:
The module is installed in directory (find /usr/lib -name Session.pm):

/usr/lib/perl5/site_perl/5.8.8/CGI/Session.pm

My @INC variable (perl -e 'foreach (@INC) { print "$_\n"; }'):
/usr/lib/perl5/5.8.8/ia64-linux-thread-multi
/usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/ia64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/ia64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl

My distro is SLES 10, update 1. CGI::Session 4.20


Cheers
Pavel





-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins
Sent: Thursday, December 20, 2007 9:10 PM
To: Cina, Pavel (external)
Cc: mason-users@lists.sourceforge.net
Subject: Re: [Mason] CGI::Session not working with Mason

On Dec 20, 2007 7:53 AM, Cina, Pavel (external) <[EMAIL PROTECTED]> wrote:
> Error during compilation of /srv/www/htdocs/mason/bad_session.html:
>  Can't locate CGI/Session.pm in @INC

The error message says it's not in your @INC.  Print out your @INC and see what 
it is and what adjustments you need to make.  It may be adding a path to @INC 
or it may be changing permissions on the path CGI::Session is in.

- Perrin

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to