in reply to force storable downgrade usage

you can add a use lib qw|mydir|; to the beginning of the script. This will add a directory at the beginning of the @INC array.

perldoc lib

"Look, Shiny Things!" is not a better business strategy than compatibility and reuse.


OSUnderdog

Replies are listed 'Best First'.
Re^2: force storable downgrade usage
by b888 (Beadle) on Dec 14, 2004 at 16:21 UTC
    I've already tried to. It doesn't help since storable seems needs some binaries.

      Just to get some assumptions out of the way... Have you retrieved the CPAN Storable package, built it and installed it in the local directory? If you're just trying to tweak a .pm and there it has an XS layer then it probably won't work.

      An quick alternative to use lib qw{mydir yourdir}; is to use the command line parameter:

      perl -Imydir -Iyourdir

      If you have installed the package locally you should be able to differentiate between the two versions:

      $perl -MStorable -e" print \$Storable::VERSION" 2.13

      and

      $perl -I./lib -MStorable -e" print \$Storable::VERSION" ?.??

      "Look, Shiny Things!" is not a better business strategy than compatibility and reuse.


      OSUnderdog