Sachin Hegde wrote:
>
> How do I efficiently delete all the entries in a Hash of arrays.
> suppose I have
> %HOA = { one => [ "a","b","c"],
> two => [ "x","y","z"],
> };
> I want
> %HOA = {};
Hi Sachin.
Your mistake lies in the difference between a hash and
a referen
Sachin Hegde wrote:
>
> Hi all,
Hello,
> How do I efficiently delete all the entries in a Hash of arrays.
> suppose I have
> %HOA = { one => [ "a","b","c"],
> two => [ "x","y","z"],
> };
It looks like you don't have warnings enabled otherwise you would get
this war