develooper Front page | perl.perl5.porters | Postings from June 2010

Case sensitivity in an odd place

Thread Next
Bo Lindbergh
June 30, 2010 01:53
Case sensitivity in an odd place
Message ID:
    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?

/Bo Lindbergh

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About