in reply to Storable bug?

Hey, I already knew that!

The bad thaw is there on purpose, to show that after such failure Storable will stop being able to freeze.

It appears to be that something goes wrong in the internal state of Storable when you feed a bad value to 'thaw', that prevents it from working again.

I've tried unloading and reloading after the bad thaw by doing:

delete $INC{'Storable.pm'}; require Storable;
But that only replaces the subroutines and doesn't clear the internal state, which is my guess from the barrage of warnings this gives when run under 'use strict'.

Replies are listed 'Best First'.
Re: Re: Storable bug?
by Anonymous Monk on Jun 09, 2001 at 00:48 UTC
    The warnings come from the fact that you overwrite a sub (from the old Storable) with a new sub (from the required Storable) with the same name. The internal state will be reset, but thats ok therefore no warning.