... foreach my $field (sort @$field_order) { print "\t
## ... # heres the new line of code $records->[$i]->{$field} .= ""; print "\t\t$records->[$i]->{$field}\n"; ... ##
## length($records->[$i]->{$field})