From 046ad868331a9f1581837404449b4320e6d09c36 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 12 Feb 2015 01:34:14 +0100 Subject: 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. --- scripts/Dpkg/Gettext.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/Dpkg') 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); } -- cgit v1.2.3