mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 19:22:40 +01:00
Add ability to clear DualIndexHashObject
This commit is contained in:
parent
e5bd377477
commit
16f34026da
@ -152,6 +152,11 @@ sub save {
|
||||
close FILE;
|
||||
}
|
||||
|
||||
sub clear {
|
||||
my $self = shift;
|
||||
$self->{hash} = {};
|
||||
}
|
||||
|
||||
sub find_index {
|
||||
my $self = shift;
|
||||
my ($primary_index_key, $secondary_index_key) = map {lc} @_;
|
||||
|
Loading…
Reference in New Issue
Block a user