On Fri, 13 Feb 2009, shiriru0...@hotmail.com wrote: > - I was manipulating @INC in a BEGIN block but wasn't working. > The main app index.pl is very basic: > > use strict; > use warnings; > > use App::Core Run => 'App::Engine'; > > I was doing the manip of @INC in the App::Engine module > within a BEGIN block but then move it to the import function of App::Engine, > to > no unvail.
Would this work in your CGI instead of fiddling with @INC: use FindBin; use lib "$FindBin::Bin/../lib"; or something like that? Mark