Perl-Sensitive Sunglasses | |
PerlMonks |
Re: How do I get all the permission flags on a file?by merlyn (Sage) |
on Sep 25, 2000 at 23:20 UTC ( [id://33945]=note: print w/replies, xml ) | Need Help?? |
You don't need octal, ever. You need a number. That number from stat can be handed over directly. For safety, you may want to bit-and it with 07777, but I don't think there'll be any
nonsense anyway.
In Section
Seekers of Perl Wisdom
|
|