our(@EXPORT, @EXPORT_OK, %EXPORT_TAGS);
-our $VERSION = '1.05';
+our $VERSION = '1.06';
my @fields;
BEGIN {
-X => sub {
my ($s, $op) = @_;
- if (index "rwxRWX", $op) {
+ if (index("rwxRWX", $op) >= 0) {
(caller 0)[8] & HINT_FILETEST_ACCESS
and warnif("File::stat ignores use filetest 'access'");
use filetest "access";
use warnings;
for my $op (split //, "rwxRXW") {
- local $TODO = $op eq "r" ? "RT 111640" : "";
# these should all warn with filetest access
my $w;
local $SIG{__WARN__} = sub { $w = shift };
}
{
- local $TODO = "RT 111640";
# -d and others shouldn't warn
my $w;
local $SIG{__WARN__} = sub { $w = shift };