Subject: | new is looking for a hash argument rather than anonymous hash reference |
From Paul.Steward[at]infospace.com:
Another quick fix. You 1.00 beta code is looking for a hash argument
rather than a anonymous hash reference argument in the new() function of
Tie::RangeHash. In the prior version (0.72) you were expecting an
anonymous hashref, while in this version you are looking for an array
which can be slung to a hash.
For example, the following works in 1.00 beta
tie %internal_ips, 'Tie::RangeHash',
Type => Tie::RangeHash::TYPE_NUMBER
;
while this invocation, referenced in the POD, does not.
tie %internal_ips, 'Tie::RangeHash', {
Type => Tie::RangeHash::TYPE_NUMBER }
;