Message-ID: <fhnq7u8ref3nqgsa0p4f9u1v5r3sv3akm1@4ax.com>
p4raw-id: //depot/perl@14905
SKIP: {
local *STAT;
- skip(2, "Could not open file: $!") unless open(STAT, 'TEST');
+ skip("Could not open file: $!", 2) unless open(STAT, 'TEST');
ok( File::stat::stat('STAT'), '... should be able to find filehandle' );
package foo;
'... and filehandle in another package' );
close STAT;
+ main::skip("Win32: different stat-info on filehandle", 1) if $^O eq 'MSWin32';
+
main::is( "@$stat", "@$stat2", '... and must match normal stat' );
}