in reply to Re^3: creating defined references to arrays of size zero
in thread creating defined references to arrays of size zero
This would initialize the hash value to an empty array ref, when necessary.my $array = $hash->{$key} ||=[];
"Income tax returns are the most imaginative fiction being written today." -- Herman Wouk
|
|---|