in reply to 5.8 hash as a reference is deprecated??
Because it's wrong :-) You should be using a hash like a hash
%hash{$item_one}{$ip}
$hash{$item_one}{$ip}
or a hashref like a reference
$hashref->{$item_one}{$ip}
The %hash->{} code had undefined behaviour and is now (quite correctly) being deprecated .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: 5.8 hash as a reference is deprecated??
by merlyn (Sage) on Oct 31, 2003 at 13:16 UTC | |
by adrianh (Chancellor) on Oct 31, 2003 at 13:26 UTC |