http://www.perlmonks.org?node_id=777729


in reply to Re: Perl "Constants"
in thread Perl "Constants"

For string interpolation you may also use scalar context

print "This is ${\SOME_CONSTANT}\n";

With a hash key you can also disambiguate a constant with parens

$h{(SOME_CONSTANT)}