in reply to or operator not working at checking directories
if(-d -r -w -x -R -W -X "directory") {
See perlfunc. There's an example of how to do this at the bottom of the section that describes the -X functions. (Hint: pay close attention when you see _ described.)
|
|---|