in reply to Re: Re: Re: Re: CGI script organisation
in thread CGI script organisation

Another aproach is setting module search path using enviroment variable PERL5LIB. This way you don't need use lib qw(/some/where) in your code. Your users (or your installation script) should put SetEnv PERL5LIB /some/where in Apache config instead of it.

See perlrun for information about enviroment variables used by perl.

--
Ilya Martynov (http://martynov.org/)