$mode now contains something like "-rw-r--r--".my $file = "foo"; use Stat::lsMode; my $mode = file_mode($file);
In reply to Re: How do I test whether a file has write permission?
by btrott
in thread How do I test whether a file has write permission?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |