A) Yell at your hosts for being stupid.
B) CGI::Session is a "perl only" module, which means all you need to install it is simply upload it to some folder then tell perl where to find it. | [reply] |
To clarify what BUU said, A) You should probably communicate more with your boss. B) lib.pm is likely what you want.
Say you can upload to C:\WWW\, make a directory called lib. Under lib\, add a directory, CGI, and Session.pm inside that. Now, before your code tries to pull in CGI::Session, do a use lib 'C:\WWW\lib';.
Actually, './' is always in @INC, so you could just make the CGI directory in the same folder as your scripts (say C:\WWW\HTDOCS\), but that could get messy.
mhoward - at - hattmoward.org
| [reply] [d/l] |
Ok, I will try that. I also found some help at
http://www.rcbowen.com/imho/perl/modules.html
if anyone else may ever need it. Thanks!
| [reply] [d/l] |
I'm still getting an error and I'm a little confused. Please tell me if I'm doing this correct. I used the link to go to cpan.org and I clicked on the Source link, copied, and saved it to a file as lib.pm. I then uploaded it to the top of the directory in the server. I then created a sub-dir from the top-level-dir called lib and a sub-dir in this called CGI where I put the source file Session.pm. I then tried to access the script I was using it for and got a server error. I included the file as
use lib '\lib';
Then I tried use lib '/lib' and use lib 'lib'; I'm not sure what I'm doing wrong here or missing and I know the script works b/c when I take out the use lib... part it runs fine. Please help. Thanks | [reply] [d/l] [select] |
*Sign of relief* SO I don't have to rewrite all of my session management scripts. That is a big relief. Now this may sound stupid but I'm used to installing modules the "normal" way.
perl Makefile.PL
make
make test
make install
How do I do this "manually" where I actually put the file in the directory. I assume on the use CGI::Session I specify a path. However, I'm not sure what and where everything is supposed to go. Thanks so much. (btw, I decided to switch host today since parcom seems to not support anything I need Any suggestions for good windows perl host are welcome). | [reply] [d/l] [select] |
Why are you trying to find a *windows* *host*? Especially if you're using perl and such like.
| [reply] |