From 2224ef83fe7c82b2643a62bc7f98a2f589660ce8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 6 May 2008 00:35:28 +0200 Subject: help2man: fix perl 5.10 problem properly * man/help2man: Do pull LC_ALL via "use POSIX". Instead, limit the importing of gettext-related symbols to just those two we'll use: gettext and textdomain. --- man/help2man | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/help2man b/man/help2man index 652fe9c3d..f0007358f 100755 --- a/man/help2man +++ b/man/help2man @@ -24,7 +24,7 @@ use 5.005; use strict; use Getopt::Long; use Text::Tabs qw(expand); -use POSIX qw(strftime setlocale); +use POSIX qw(strftime setlocale LC_ALL); use locale; my $this_program = 'help2man'; @@ -34,7 +34,7 @@ my $have_gettext; BEGIN { eval { require Locale::gettext; - Locale::gettext->import; + Locale::gettext->import (qw(gettext textdomain)); $have_gettext = 1; }; -- cgit v1.2.3-70-g09d2