Clinton, I tried it ..It gives me this at the line I added warn. Warning: something's wrong at newprocessquery.pl line 24. Undefined subroutine &main::retrieve called at newprocessquery.pl line 25.
I tried printing @INC after adding the use lib..It gives me the path at the front of @INC ..i dont understant y it isnt able to find Storable.pm when I use retrieve.. Deepak Also I printed @INC after adding On 4/23/07, Clinton Gormley <[EMAIL PROTECTED]> wrote:
> Add this to your CGI script: > > warn $INC{Storable.pm}; change that to: warn $INC{'Storable.pm'}; otherwise it'll break under use strict; > > and I bet you that the path that it prints to your error log is not the > one to your home directory. What you could try doing in this case (I assume you're running it as straight CGI and not with Registry or anything similar) is to load Storable before you load any other modules. So : use strict; use warnings; use lib '/home/....'; use Storable; use Other::Modules...; > > Clint > > >