From 2625381e5b59afae433dbf72bd83b140ce696151 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Tue, 30 Jan 2018 15:38:43 +0000 Subject: [PATCH] fix Using a hash as a reference is deprecated warning --- lib/SNMP/Info/Layer7/CiscoIPS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SNMP/Info/Layer7/CiscoIPS.pm b/lib/SNMP/Info/Layer7/CiscoIPS.pm index 4bbaae79..3e2089e8 100644 --- a/lib/SNMP/Info/Layer7/CiscoIPS.pm +++ b/lib/SNMP/Info/Layer7/CiscoIPS.pm @@ -128,7 +128,7 @@ sub e_index { my $self = shift(); my %index; foreach my $id ( keys %{$self->e_id} ){ - %index->{$id} = $id; + $index{$id} = $id; } return \%index; }