in reply to Using hashref values in constant declarations.

my $hashref = () = {

Bad use of the "Saturn" operator, have you done print Dumper($hashref);?