"Zentara" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Tue, 16 Apr 2002 13:17:59 -0700 (PDT), [EMAIL PROTECTED] (John
> Brooking) wrote:
>
> For instance, I wanted to use Crypt::RC4 on a remote server.
> Using the above unshift, I upload Crypt::RC4 but it wouldn't work
> until I edited the RC4.pm to change it's Package name from
> Crypt::RC4 to RC4; and it is invoked with "use RC4";
> I'm sure there are other methods.

when you say: use Crypt::RC4, perl looks in each directory listed in @INC in
order until it finds a directory called "Crypt" then it looks for a file
called RC4.pm.

sice you shifted '/home/brooking/cgi-bin/myapp' to the beginning of the @INC
array, you would create a directory called "Crypt" in
/home/brooking/cgi-bin/myapp and put RC4.pm in
/home/brooking/cgi-bin/myapp/Crypt. This way you can keep the different
libraries seperate.

no advice about the shared object file, sorry...

trwww



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to