From ea1357d0f153c9a0534ea301f7d7ef2262343249 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 22 Nov 2014 23:59:39 +0100 Subject: Dpkg: Use shift instead of @_ on single argument unpacking --- scripts/Dpkg/Control/HashCore.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/Dpkg/Control/HashCore.pm') diff --git a/scripts/Dpkg/Control/HashCore.pm b/scripts/Dpkg/Control/HashCore.pm index d06c18f3b..05aaa55a8 100644 --- a/scripts/Dpkg/Control/HashCore.pm +++ b/scripts/Dpkg/Control/HashCore.pm @@ -133,7 +133,7 @@ sub new { # that everything gets garbage-collected. sub DESTROY { - my ($self) = @_; + my $self = shift; delete $$self->{fields}; } -- cgit v1.2.3