summaryrefslogtreecommitdiff
path: root/scripts/Dpkg
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2015-02-12 01:34:14 +0100
committerGuillem Jover <guillem@debian.org>2015-03-30 20:06:35 +0200
commit046ad868331a9f1581837404449b4320e6d09c36 (patch)
treedf6e81bb743b889132b8b4fb1fca56e3ff32ef4e /scripts/Dpkg
parent19966da8950830948181ee707858384d3a11effb (diff)
downloaddpkg-046ad868331a9f1581837404449b4320e6d09c36.tar.gz
Dpkg::Gettext: Use parenthesis on carp call to tell perl it is a function
Because we are using 'require' instead of 'use', perl does not know that the symbol is a function instead of a bareword.
Diffstat (limited to 'scripts/Dpkg')
-rw-r--r--scripts/Dpkg/Gettext.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Gettext.pm b/scripts/Dpkg/Gettext.pm
index beba2a649..c5bf331e5 100644
--- a/scripts/Dpkg/Gettext.pm
+++ b/scripts/Dpkg/Gettext.pm
@@ -101,7 +101,7 @@ sub _g ## no critic (Subroutines::ProhibitUnusedPrivateSubroutines)
my $msgid = shift;
require Carp;
- Carp::carp 'obsolete _g() function, please use g_() instead';
+ Carp::carp('obsolete _g() function, please use g_() instead');
return g_($msgid);
}