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.
In reply to Re^2: A philosophical pondering concerning hexes
by diotalevi
in thread A philosophical pondering concerning hexes
by Llew_Llaw_Gyffes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |