Locale::Gettext exports by default the various LC_* constants as does the
POSIX perl module. Up to perl-5.10, their definition was strictly the same
and didn't cause any harm. Now the POSIX module evolved slightly and the
symbol redefinition are conflictual and
generate warnings.
Resolve this by making sure that Locale::Gettext reexports the constants
coming from the POSIX module.
Fixes Debian bug #479803.
-- Raphael Hertzog <hertzog@debian.org>
old
|
new
|
|
32 | 32 | =cut |
33 | 33 | |
34 | 34 | use Carp; |
| 35 | use POSIX qw(:locale_h); |
35 | 36 | |
36 | 37 | require Exporter; |
37 | 38 | require DynaLoader; |