@INC = '../lib';
}
+use strict;
+use warnings;
use Test::More;
use Config qw( %Config );
+my $file;
+
BEGIN {
# Check whether the build is configured with -Dmksymlinks
our $Dmksymlinks =
# with -Dmksymlinks
# Originally we worked with ./TEST, but other test scripts read from
# that file and modify its access time.
- our $file = '../lib/File/stat.t';
+ $file = '../lib/File/stat.t';
if ( $Dmksymlinks ) {
$file = readlink $file;
die "Can't readlink(../lib/File/stat.t): $!" if ! defined $file;
{ # 111640 - File::stat bogus index check in overload
use filetest "access";
- use warnings;
for my $op (split //, "rwxRXW") {
# these should all warn with filetest access
my $w;