On Tue, Jun 29, 2010 at 16:02, Bo Lindbergh <blgl@stacken.kth.se> wrote: > { > print 0xabcdef; # this outputs "11259375" > print 0xABCDEF; # so does this > print 0XABCDEF; # but this is a syntax error > } > > Is there some kind of thought behind only allowing lowercase x > in a hexadecimal literal? Oh look, a case where Perl actually is more pedantic than Python, Ruby and C. No idea why it isn't allowed. Probably because nobody complained so far and offered up a patch.Thread Previous