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

Case sensitivity in an odd place

Thread Next
From:
Bo Lindbergh
Date:
June 30, 2010 01:53
Subject:
Case sensitivity in an odd place
Message ID:
20100629160241.20071.qmail@lists-nntp.develooper.com
{
    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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About