You should use the lstat builtin if you don't want to resolve soft links.
If you use Fcntl qw(:mode); you can get the constants by name. That will be easier to read and remember.
++Helter for the other answers.
After Compline,
Zaxo
In reply to Re: Re: Unix File Type with stat
by Zaxo
in thread Unix File Type with stat
by cxbast
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |