Problems? Is your data what you think it is? | |
PerlMonks |
Re: Re: Re: Unwanted Octal to Decimal Conversionby duff (Parson) |
on Feb 18, 2004 at 22:29 UTC ( [id://330081]=note: print w/replies, xml ) | Need Help?? |
The reason I like this is that it makes evaluation of permissions in the code much simpler because they are already in octal form. Thus my permssions checking can do bitwise operations without having to reformat them. Why would you have to "reformat" them to do bitwise operations? octal 040 and decimal 32 have exactly the same bit pattern.
In Section
Seekers of Perl Wisdom
|
|