in reply to Re: unde/re-set an array of hash references ?
in thread undef/re-set an array of hash references ?

Thanks for the help guys. The hash of array references definition
makes sense.

I was trying a foreach approach to clear %infilestore, but when
I closed an old file (clearing the hash, I hoped) and opened
a new file, the two would concatenate together - ie. the
hash would be added to but initial values wern't cleared.

%infilestore=(); is doing the trick, thanks fever. Why is using foreach
not recommended if you want to delete everything,
I would've thought it would do the job fine but apparently not.
Thanks again,
basm101
  • Comment on Re: Re: unde/re-set an array of hash references ?