The following code produces an error in the syntax highlighting:
use constant PI => 3.14159265358979323846;
use constant RADTODEG => 180/PI;
use constant DEGTORAD => PI/180;
The problem lies in the fact that the character control sequence for the integer 180 in the DEGTORAD is not being parsed as a number and therefor not displayed right.
Log in to post a comment.