help2man: avoid failure with Debian unstable's Perl 5.10.0
authorJim Meyering <meyering@redhat.com>
Mon, 5 May 2008 20:44:57 +0000 (22:44 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 5 May 2008 21:46:30 +0000 (23:46 +0200)
Avoid failure that produced this diagnostic:
Constant subroutine main::LC_ALL redefined at /.../Exporter.pm
* man/help2man: Don't include LC_ALL in the "use POSIX" list,
since Locale::gettext->import will get it.

man/help2man

index 1bc12cf..652fe9c 100755 (executable)
@@ -24,7 +24,7 @@ use 5.005;
 use strict;
 use Getopt::Long;
 use Text::Tabs qw(expand);
-use POSIX qw(strftime setlocale LC_ALL);
+use POSIX qw(strftime setlocale);
 use locale;
 
 my $this_program = 'help2man';