Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Keep It Simple, Stupid

Comment on


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

in thread A philosophical pondering concerning hexes by Llew_Llaw_Gyffes

and:  <code> code here </code>

  • Please read these before you post! —
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    As of 2013-12-20 10:52 GMT
    Find Nodes?
      Voting Booth?

      How do you parse XML?

      Results (420 votes), past polls