mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
DualIndexHashObject: hide _name key from set output
This commit is contained in:
parent
c586a08db6
commit
791fd4b660
@ -222,6 +222,7 @@ sub set {
|
||||
my $result = "[$name1] $name2 keys:\n";
|
||||
my $comma = '';
|
||||
foreach my $key (sort keys %{ $self->{hash}->{$lc_primary_index}->{$lc_secondary_index} }) {
|
||||
next if $key eq '_name';
|
||||
$result .= $comma . "$key => " . $self->{hash}->{$lc_primary_index}->{$lc_secondary_index}->{$key};
|
||||
$comma = ";\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user