On 20 Sep 2002 at 9:40, P. M. Wright wrote: > I added an explicit lib statement to a script pointing to: > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux > and it worked!!! > > Now, I have one more question. How can I add this to @INC so that I > don't need it in all our scripts?
Paul, Did you remove the old version of Perl? It sounds like the other scripts are using the wrong Perl binary since the output of perl -V indicates that the path above is in @INC. I've found that sometimes a package does not replace the link in /usr/bin/perl to the new binary (this may be a FreeBSD problem and not a Debian one; I'm a pgmmer, not a SysAdmin so I tend to forget these kinds of details ;-). If these are CGI scripts, I suspect you can create a simple CGI script to output the same details as perl -V although I've never needed to do it. I have seen sample scripts around that will generate lots of info about the server for use by programmers using a new ISP. HTH, William -- Lead Developer Knowmad Services Inc. || Internet Applications & Database Integration http://www.knowmad.com
