Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Unwanted Octal to Decimal Conversionby djantzen (Priest) |
on Feb 18, 2004 at 21:44 UTC ( [id://330072]=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. The code that writes to the database now uses oct so in the db the permissions are in decimal form.
"The dead do not recognize context" -- Kai, Lexx
In Section
Seekers of Perl Wisdom
|
|