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


On Mon, 2007-04-23 at 04:17 -0500, Deepak Mallya wrote:
> Hi,
>     I did install the latest Storable.pm and included using
>     use lib
> "/home/002/d/dp/dpm052000/public_html/cgi-bin/Storable-2.16/blib";
>     I get an error when I use $index=retrieve('filename');
>     Is somehting wrong in the way i am including the library???
>  
> Deepak
> 

Please keep this on list

I think that you're loading a different module which loads Storable
before you have a chance to load yours.

Add this to your CGI script:

warn $INC{Storable.pm};

and I bet you that the path that it prints to your error log is not the
one to your home directory.

Clint
> 


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