in reply to Unwanted Octal to Decimal Conversion
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);
|
|---|