in reply to Unicode constant

Yes, the Perl parser's rules for identifiers considerably predates the entire concept of UTF8 ... and, for whatever it is worth, even today most programming languages are the same.

Replies are listed 'Best First'.
Re^2: Unicode constant
by Anonymous Monk on Nov 08, 2019 at 01:33 UTC
    Still pretty impressive, Perl is, TIMTOWTDI:
    perl -Mutf8 -MMath::Trig=:pi -C -E 'use constant π2 => pi2; say π2'
    6.28318530717959