in reply to Re^2: storable error
in thread storable error

Try running the following snippet of code having modified the use lib ...; statement to match that you are using in your program.

#! perl -slw no warnings; use lib 'whatever you are using'; use Storable; for ( sort keys %INC ) { printf "%20s => %s ", $_, $INC{ $_ }; s[/][::]g; s[.pm][]; print eval "\$$_\::VERSION"; }

The output should look something like that below and will allow you to identify where the version of Storable is being picked up from and which version it is.

P:\test>used AutoLoader.pm => c:/Perl/lib/AutoLoader.pm 5.60 Carp.pm => c:/Perl/lib/Carp.pm 1.02 Config.pm => c:/Perl/lib/Config.pm DynaLoader.pm => c:/Perl/lib/DynaLoader.pm 1.05 Exporter.pm => c:/Perl/lib/Exporter.pm 5.58 Exporter/Heavy.pm => c:/Perl/lib/Exporter/Heavy.pm 5.58 Fcntl.pm => c:/Perl/lib/Fcntl.pm 1.05 Storable.pm => c:/Perl/lib/Storable.pm 2.12 XSLoader.pm => c:/Perl/lib/XSLoader.pm 0.02 c:/Perl/lib/auto/Storable/autosplit.ix => c:/Perl/lib/auto/Storable/au +tosplit.ix strict.pm => c:/Perl/lib/strict.pm 1.03 vars.pm => c:/Perl/lib/vars.pm 1.01 warnings.pm => c:/Perl/lib/warnings.pm 1.03 warnings/register.pm => c:/Perl/lib/warnings/register.pm 1.00

Did you create the frozen data and then upgrade Storable? Because if not, something is seriously wrong with your install.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^4: storable error
by CassJ (Sexton) on Oct 18, 2004 at 00:03 UTC
    Still seems to be using the version that isn't in my local library. But even though it claims to install OK locally, I can't find any record of it in my library, so I have no idea what's going on. Will get one of the computer guys at work to have a look tomorrow - is getting a bit late to try and sort it now.

    Thanks for all your help. I'll let you know if I get it fixed.

    Cxx No clue what the problem was, but reinstalling fixed it. Thanks!