diff options
Diffstat (limited to 'lib/open.t')
-rw-r--r-- | lib/open.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/open.t b/lib/open.t index 68b3eca387..55b955bd0f 100644 --- a/lib/open.t +++ b/lib/open.t @@ -45,6 +45,7 @@ like( $warn, qr/Unknown PerlIO layer/, SKIP: { skip("no perlio, no :utf8", 1) unless (find PerlIO::Layer 'perlio'); + skip("no Encode for locale layer", 1) unless eval { require Encode }; # now load a real-looking locale $ENV{LC_ALL} = ' .utf8'; import( 'IN', 'locale' ); |