my $col_name = ref $cell ? $cell->{Val} : ''; #### my $col_name = ref $cell ? $cell->{Type} : '';