[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error while using Storable.pm for persistent Data Structures from Perl(CGI script)


> 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
> > 
> 


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.