Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Unwanted Octal to Decimal Conversion

by ambrus (Abbot)
on Feb 18, 2004 at 21:02 UTC ( [id://330062]=note: print w/replies, xml ) Need Help??


in reply to Re: Unwanted Octal to Decimal Conversion
in thread Unwanted Octal to Decimal Conversion

I recommend "%05o" or "%#04o" because permission are 12 bit long and this way there will always be a preceding zero to indicate octalness.

Replies are listed 'Best First'.
Re: Re: Re: Unwanted Octal to Decimal Conversion
by borisz (Canon) on Feb 18, 2004 at 21:10 UTC
    You are right. then I like "0%04o". It is most readable for me.
    Boris

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://330062]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found