Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: How do I test whether or not a file is writable?by kiruthika.bkite (Scribe) |
on Mar 18, 2010 at 10:56 UTC ( [id://829382]=note: print w/replies, xml ) | Need Help?? |
-f switch is used to check whether $name is file or not. -w switch is used to test whether file has write permission or not.
In Section
Seekers of Perl Wisdom
|
|