Per the stat documentation, "not all fields are supported on all filesystem types", so you really need to consult the documentation for your OS and FS of choice for the appropriate definitions if the perldoc entry isn't meeting your needs.
Can't help you find such for Windows or the Mac, but for Unix(ish) environments the following may be good places to start...
If all you're really after is permissions, perhaps you should try the bitmasking technique in the docs or take a look at something like Stat::lsMode (alt.)?
use Stat::lsMode; $mode = (stat $some_file)[2]; # 33206 $perms = format_mode($mode); # -rw-rw-rw-
--k.
In reply to Re: stat-mode; numeric definitions
by Kanji
in thread stat-mode; numeric definitions
by S_Shrum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |