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

Re^2: A philosophical pondering concerning hexes

by diotalevi (Canon)
on Jun 25, 2004 at 19:26 UTC ( [id://369724]=note: print w/replies, xml ) Need Help??


in reply to Re: A philosophical pondering concerning hexes
in thread A philosophical pondering concerning hexes

I had not noticed previously that oct( "108" ) == 8 because oct( "10" ) == 8 and "108" =~ /^[0-7]+/. My initial thought on seeing 8 out of "108" was that oct() was returning some sort of nonsense value. I get it now that it is the same thing as oct( "10 foo" ).

Thanks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found