note
little
1 is just the return value of the function ("thaw" in your case cause it's processed after "freeze") when it succeeded<br />
the module is changing %hashref or @hashref, you should <b>use</b> the <b>strict</b> pragma which should throw an error on your use of $hashref as it pretty much looks alike a hash<br />
So better print out the scalar, array or hash when you've frozen it and thawed it again to see how it works.<br /><br />Have a nice day<br />
<i>All decision is left to your taste</i><br />
<b>Update</b><br />
You might consider to use module Storable as well.<br />
And no, don't rely on my first sentence, I was wrong, the 1 is the length of the returned array as described below.
42889
42889