sub cleaner { (my $clean = $_[0]) =~ s/\n/
/g; $clean =~ s/\t/ /g; return $clean; } $details = cleaner($details);