|Problems? Is your data what you think it is?|
Ignoring @INC in a useby jreades (Friar)
|on Aug 13, 2001 at 03:05 UTC||Need Help??|
jreades has asked for the
wisdom of the Perl Monks concerning the following question:
It's been a long time since I had to write any Perl CGIs, and even longer since I wasn't root on the machine that I will be deploying the CGI on, so that has led me to this problem...
I'm working from a shopping cart SDK that requires the Net::SSLeay module to perform secure transactions with the transaction server. The SDK also requires modifications to the SSLeay module.
It may be a while since I've had to share a machine, but even I know that making changes to shared module on a co-hosted machine is a BAD THING.
So I went looking for a way to import the altered module into the CGI script and came up with:
Where the module file name is SSLeay.pm and can be found at /path/to/module/SSLeay.pm.
Only problem is, it doesn't work -- sometimes it doesn't work and gives me the 'premature end of script headers' error, other times I got an error about Dynaloader and a version 1.05 vs. 1.08. I'm not using 1.05 AFAIK. Anywhere...