for (values(%{$hash})) { /yes/i ? $_ = 'Yes' : $_ = 'No'; }