UTF-8 locale: there might already be one UTF-8 discipline.
Jarkko Hietaniemi [Wed, 27 Mar 2002 21:18:40 +0000 (21:18 +0000)]
p4raw-id: //depot/perl@15555

lib/open.t

index bb5d829..d9d385b 100644 (file)
@@ -47,7 +47,7 @@ SKIP: {
     # now load a real-looking locale
     $ENV{LC_ALL} = ' .utf8';
     import( 'IN', 'locale' );
-    is( ${^OPEN}, ":utf8\0", 
+    like( ${^OPEN}, qr/^(:utf8)?:utf8\0/,
         'should set a valid locale layer' );
 }