Perl: join()
join()
join() does the opposite of split() - it takes a list of strings and joins them all together, separated by a delimiter string
$fname = "Eric"; $lname = "Larson"; etc...
$line = join(":",$fname,$lname,$address, $city, $state, $zip);
# $line = "Homer Simpson:742 Evergreen Terrace:Springfield:RI:02896"