in reply to Question related to the use of constants

After declaring your constants, you should use the following syntax where indicated:

As a hash key
$hash{+CONST} or
$hash{CONST()}
Lefthand side of => operator
... CONST() => $value ... (+CONST won't work here)
Interpolation in a string
print "My CONST = @{[CONST]}\n"

The constant manpage explains why.

Regards,

PN5