my %table = ( optimal => 'good', failed => {missing => 1, bad => 1}, ); print $table{failed}{missing};