This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Cleanup lib/B
[perl5.git] / pp_sys.c
index 66ca0fb..da07e46 100644 (file)
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -2999,10 +2999,9 @@ PP(pp_ftrread)
        effective = TRUE;
        break;
 
-
     case OP_FTEEXEC:
 #ifdef PERL_EFF_ACCESS
-       access_mode = W_OK;
+       access_mode = X_OK;
 #else
        use_access = 0;
 #endif