diff options
Diffstat (limited to 't/run')
-rw-r--r-- | t/run/locale.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/run/locale.t b/t/run/locale.t index fbee2d636c..27535e69b1 100644 --- a/t/run/locale.t +++ b/t/run/locale.t @@ -21,7 +21,7 @@ BEGIN { } use Config; my $have_strtod = $Config{d_strtod} eq 'define'; -my @locales = find_locales( [ LC_ALL, LC_CTYPE, LC_NUMERIC ] ); +my @locales = eval { find_locales( [ &LC_ALL, &LC_CTYPE, &LC_NUMERIC ] ) }; skip_all("no locales available") unless @locales; plan tests => &last; |