diff options
-rw-r--r-- | lib/VarnishMib/MIBTable.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VarnishMib/MIBTable.pm b/lib/VarnishMib/MIBTable.pm index da0ca19..8ccd598 100644 --- a/lib/VarnishMib/MIBTable.pm +++ b/lib/VarnishMib/MIBTable.pm @@ -32,13 +32,13 @@ sub new { unless ($i > 0 && $table->{$uniq_oids[-1]}[1] eq $table->{$oids[$i]}[1]) { push @uniq_oids, $oids[$i]; } push @equiv, $#uniq_oids; } - my $self = bless $class->SUPER::new(%args), $class; + my $self = $class->SUPER::new(%args); $self->{oids_all} = \@oids; $self->{oids_uniq} = \@uniq_oids; $self->{equiv} = \@equiv; $self->{type} = $type; $self->create([map { $table->{$_}[1] } @{$self->{oids_uniq}}]); |