diff options
Diffstat (limited to 'cpan/ExtUtils-MakeMaker/t/unicode.t')
-rw-r--r-- | cpan/ExtUtils-MakeMaker/t/unicode.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpan/ExtUtils-MakeMaker/t/unicode.t b/cpan/ExtUtils-MakeMaker/t/unicode.t index 557ac77540..14a0c8501b 100644 --- a/cpan/ExtUtils-MakeMaker/t/unicode.t +++ b/cpan/ExtUtils-MakeMaker/t/unicode.t @@ -14,7 +14,7 @@ use File::Path; use utf8; BEGIN { plan skip_all => 'Need perlio and perl 5.8+.' - if $] < 5.008 or !$Config{useperlio}; + if "$]" < 5.008 or !$Config{useperlio}; plan skip_all => 'cross-compiling and make not available' if !MM->can_run(make()) && $ENV{PERL_CORE} && $Config{'usecrosscompile'}; @@ -76,7 +76,7 @@ END { ok( chdir $DIRNAME, "chdir'd to $DIRNAME" ) || diag("chdir failed: $!"); -if ($] >= 5.008) { +if ("$]" >= 5.008) { eval { require ExtUtils::MakeMaker::Locale; }; note "ExtUtils::MakeMaker::Locale vars: $ExtUtils::MakeMaker::Locale::ENCODING_LOCALE;$ExtUtils::MakeMaker::Locale::ENCODING_LOCALE_FS;$ExtUtils::MakeMaker::Locale::ENCODING_CONSOLE_IN;$ExtUtils::MakeMaker::Locale::ENCODING_CONSOLE_OUT\n" unless $@; note "Locale env vars: " . join(';', map { |