Skip to content

Commit

Permalink
Fix indirect method call and end module with true value '1'
Browse files Browse the repository at this point in the history
  • Loading branch information
0x62ash committed Feb 6, 2017
1 parent a31f91d commit d0c4e1a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Etsy/StatsD.pm
Expand Up @@ -94,7 +94,7 @@ sub new {

my @sockets = ();
foreach my $conn ( @connections ) {
my $sock = new IO::Socket::INET(
my $sock = IO::Socket::INET->new(
PeerAddr => $conn->[0],
PeerPort => $conn->[1],
Proto => $conn->[2],
Expand Down Expand Up @@ -301,6 +301,9 @@ sub AUTOLOAD {
sub DESTROY { }


1;


__END__
=pod
Expand Down

0 comments on commit d0c4e1a

Please sign in to comment.