Second, I would suggest storing the permissions in the database as decimal integers instead of octal integers or strings. You would display them in octal. This will save all kinds of headaches since the database won't know the numbers are in octal and either won't operate on strings or won't operate wrong thinking they are decimal.my $octal = sprintf("%04o", OWNER_READ);
In reply to Re: Unwanted Octal to Decimal Conversion
by iburrell
in thread Unwanted Octal to Decimal Conversion
by djantzen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |