join function
Join a list into a string using a separator
Joins the separate strings of
LIST 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.