dbush has asked for the wisdom of the Perl Monks concerning the following question:

I'm using the very neat (but new to me) Storable.pm to freeze an array of array refs (AoA) to a scalar. The problem is that for some sets of data I'm getting the following error when I come to thaw it out:

Not a scalar string at blib\lib\Storable.pm (autosplit into blib\lib\auto\Storab le\thaw.al) line 340, <STDIN> line 2, at E:\users\dbush\client.PL line 234

I've had a Google and a Super Search but to no avail. Can anyone help?

Regards,
Dom.

Replies are listed 'Best First'.
Re: What does this Storable.pm error mean?
by DigitalKitty (Parson) on Oct 26, 2003 at 19:16 UTC
    Hi dbush.

    Could you post the code you are using?

    Thanks,
    -Katie.

      Hi DigitalKitty,

      <Embarrassment>

      Following your message I started to prepare example code by cutting out the offending bits from my scripts (this is a client-server situation). Half way through I realised that for one of my methods I didn't pass the return set through freeze, therefore the error when I tried to thaw it -- whoops!

      Thanks for the help. I think it's time to stop for the night as I'm missing simple errors that are staring me in the face.

      </Embarrassment>

      Regards,
      Dom.