I found Stat::lsMode on CPAN. Looks like it will do the trick. Example usage:
use Stat::lsMode; Stat::lsMode->novice(0); print format_perms(0755), "\n"; print format_perms(04700), "\n";
In reply to Re: Turning 0755 into rwxr-xr-x
by ikegami
in thread Turning 0755 into rwxr-xr-x
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |