in reply to Re: Re: Re: Re: Re: seeking web host that has a current version of CGI.pm
in thread seeking web host that has a current version of CGI.pm
use lib LIST;
is equivalent to
BEGIN { unshift(@INC, LIST) }
And as such the directory specified will be searched first, rather than last as you suggest.
I suggest you look at the list which you are passing to lib and also look at what values are contained in @INC immediately prior to your use CGI statement.
Update
Another interesting module which you may want to look at FindBin whose documentation you can find here which allows library directories to be based upon the script location.
perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Re: seeking web host that has a current version of CGI.pm
by Anonymous Monk on Jan 07, 2002 at 03:14 UTC |