in reply to Re: How to create a "CONSTANT"
in thread How to create a "CONSTANT"
I finduse constant PIE => "Warm Apple";
or evenprint "The value of PIE is ${ \PIE }.\n";
not pleasing to read or write. The former is truly ugly, and the later looks a bit like a filehandle.print "pie: ", PIE, "\n";
Also, I have an existing code base with lots of scalar variables that are actually constants, so dpuu's solution is easiest to implement for me.
Cheers
--Fred
|
|---|