This code was credited to chromatic by the author. --Ed.if (-w FILEHANDLE) { print "It's writeable by my effective uid or gid!\n"; }
Originally posted as a Categorized Question.
In reply to How do I test if a file has write permission? by ChuckularOne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |