Task

Demonstrate any means your language has to prevent the modification of values, or to create objects that cannot be modified after they have been created.




constant $pi = 3.14159;
constant $msg = "Hello World";
 
constant @arr = (1, 2, 3, 4, 5);