in reply to Re: A philosophical pondering concerning hexes
in thread A philosophical pondering concerning hexes
No, I didn't give oct a valid hex number, I gave it an invalid octal number which could have been understood as an otherwise valid decimal number. I had not previously considered that oct() would consume a hex number but since it is implemented using a function shared with hex, I suppose that makes sense.
perl -wle 'print oct "108"' Illegal octal digit '8' ignored at -e line 1. 8
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: A philosophical pondering concerning hexes
by Abigail-II (Bishop) on Jun 24, 2004 at 13:06 UTC | |
by diotalevi (Canon) on Jun 24, 2004 at 13:13 UTC | |
by Abigail-II (Bishop) on Jun 24, 2004 at 13:26 UTC | |
by diotalevi (Canon) on Jun 25, 2004 at 19:26 UTC |
In Section
Meditations