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

2007-04-23 Thread Clinton Gormley
Deepak - please keep this on list. On Mon, 2007-04-23 at 05:58 -0500, Deepak Mallya wrote: > Clinton, >That thing worked..but i think there is another problem > now:)..shud I install this one too? > > Storable object version 2.15 does not match $Storable::VERSION 2.16 > at /usr/lib64/

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

2007-04-23 Thread Clinton Gormley
On Mon, 2007-04-23 at 04:48 -0500, Deepak Mallya wrote: > 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

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

2007-04-23 Thread Deepak Mallya
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

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

2007-04-23 Thread Clinton Gormley
> 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 as

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

2007-04-23 Thread Clinton Gormley
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

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

2007-04-23 Thread Clinton Gormley
> > > Content-type: text/html > Software error: > Storable binary image v2.7 more recent than I am (v2.6) at > ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) > line 323 >From the Storable.pm POD: files from future versions of Storable Earlier