Skip Menu |

This queue is for tickets about the Tie-RangeHash CPAN distribution.

Report information
The Basics
Id: 5320
Status: resolved
Priority: 0/
Queue: Tie-RangeHash

People
Owner: rrwo [...] cpan.org
Requestors: rrwo [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.00_b1
Fixed in: (no value)



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 } ;