use constant A => 12; my %hash = ( (A) => 'twelve' ); # beautiful