in reply to @INC

Since you seem to be on a unix workstation the easiest way to do this without editing your existing programs is to just link your old directory into the current INC path. ln -s /usr/lib/perl5/site_perl/Cobalt /usr/local/lib/perl5/site_perl/Cobalt So now perl will find it under /usr/local/lib/perl5/site_perl

I think you could also recompile perl and specify the default links paths to include /usr/lib/perl5/site_perl. I have not done it, so that is a guess.

If their is an easier way I am not aware of it.

Replies are listed 'Best First'.
RE: Re: @INC
by takshaka (Friar) on May 02, 2000 at 09:11 UTC
    I think you could also recompile perl and specify the default links paths to include /usr/lib/perl5/site_perl. I have not done it, so that is a guess.

    Supposedly, you can use the otherlibdirs Configure variable to push whatever you like onto @INC when you compile perl, but I haven't been able to get that to work.

    You can, however, use the "vendor-supplied add-ons" fields--vendorlib and vendorarch--for this purpose. Check out the INSTALL doc.