Skip Menu |

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

Report information
The Basics
Id: 62751
Status: resolved
Priority: 0/
Queue: Tie-IxHash

People
Owner: Nobody in particular
Requestors: ferreira [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 1.23



Subject: New method Clear()
I wrote and submitted in github a pull request with a change which adds a new method Clear() to Tie::IxHash objects. The same can be obtained with $ixh->Delete($ixh->Keys); (whose performance should be very poor) or $ixh->Splice(0, $ixh->Length); (whose performance should be better, but it is still quite complicate for the simple task of Clear()) Both options also include calling two methods on the object. I think the addition of this method is a nice complement to the functionality of Tie::IxHash.