BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
- require './test.pl';
+ require './test.pl'; require './charset_tools.pl';
require Config; import Config;
skip_all_if_miniperl("no dynamic loading on miniperl, no Encode nor POSIX");
+ if ($^O eq 'dec_osf') {
+ skip_all("$^O cannot handle this test");
+ }
require './loc_tools.pl';
}
use strict;
use warnings;
+no warnings 'locale'; # Plenty of these would otherwise get generated
use Encode;
use POSIX;
if($Config{d_setlocale}) {
my $current_locale = POSIX::setlocale( &POSIX::LC_CTYPE, "C") // "";
if ($current_locale eq 'C') {
- require locale; import locale;
+ use locale;
# Some implementations don't have the 128-255 range characters all
# mean nothing under the C locale (an example being VMS). This is