Perl Notes
File/Dir Checks
- -e check if the file exists
- -r check if the file is readable
- -w check if the file is writeable
- -x check if the file is executable
- -z check if the file is empty
- -f check if the file is a plain file
- -d check if the file is a directory
- -l check if the file is a symbolic link