in reply to undef/re-set an array of hash references ?

Hi,

try undef $infilestore.
You have created a hash_ref, not a hash, but you are trying to clear %infilestore, an unrelated hash.
Or, perhaps you meant  %$infilestore=undef. That dereferences the hash and undefines it. :-)

Hope this helps

thinker

Update As fever points out, what has been built is a hash of array refs, and not an array of hash refs. This answer does not therefore apply to this question. :-)

Replies are listed 'Best First'.
Re^2: unde/re-set an array of hash references ?
by Aristotle (Chancellor) on Dec 09, 2002 at 18:29 UTC
    Since he wrote $infilestore{SOMEKEY}, he is indeed working on %infilestore, which is not an unrelated hash at all.

    Makeshifts last the longest.