Sync up with Digest-MD5-2.38 from CPAN
[p5sagit/p5-mst-13.2.git] / lib / open.t
index 1c4a99e..4ce7371 100644 (file)
@@ -180,14 +180,12 @@ EOE
           "checking syswrite() output on :utf8 streams by reading it back in");
     }
 }
+SKIP: {
+    skip("no perlio", 2) unless (find PerlIO::Layer 'perlio');
 
-{
     eval q[use Encode::Alias;use open ":std", ":locale"];
     is($@, '', 'can use :std and :locale');
-}
 
-SKIP: {
-    skip("no perlio", 1) unless (find PerlIO::Layer 'perlio');
     use open IN => ':non-existent';
     eval {
        require Symbol; # Anything that exists but we havn't loaded