Filetest

filetest(3p) Perl Programmers Reference Guide filetest(3p)

Filetest

filetest(3p) Perl Programmers Reference Guide filetest(3p) # filetest(3p) Perl Programmers Reference Guide filetest(3p) NNAAMMEE # filetest - Perl pragma to control the filetest permission operators SSYYNNOOPPSSIISS # $can_perhaps_read = -r "file"; # use the mode bits { use filetest 'access'; # intuit harder $can_really_read = -r "file"; } $can_perhaps_read = -r "file"; # use the mode bits again DDEESSCCRRIIPPTTIIOONN # This pragma tells the compiler to change the behaviour of the filetest permission operators, "-r" "-w" "-x" "-R" "-W" "-X" (see perlfunc). ...