join - join a list into a string using a separator
join
EXPR,LIST
Joins the separate strings of
LIST or
ARRAY into a single string with fields separated by the value of
EXPR, and returns the string. Example:
$_ = join(':', $login,$passwd,$uid,$gid,$gcos,$home,$shell);
See split.