in reply to A more efficient way to do this?

my %field_name_lkup = ( unvLocalPhone => 'Phone', ... ); $field = $field_name_lkup{$field};