Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

Re^2: Perl with precision (octal)

by tye (Sage)
on Feb 29, 2012 at 00:04 UTC ( #956805=note: print w/replies, xml ) Need Help??

in reply to Re: Perl with precision
in thread Perl with precision

A start of 0[0-7] means "octal". So 000.76 is simply the same as 000 . 76 which is '076' which becomes just 76 when used as a number.

- tye        

Replies are listed 'Best First'.
Re^3: Perl with precision (octal)
by lidden (Curate) on Feb 29, 2012 at 00:56 UTC
    So what you are saying is that the first part is octal zero and the dot is the concatenation operator?

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2023-12-08 09:10 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (35 votes). Check out past polls.