join
char
,
list
Joins the separate strings of
list
into a single string with fields separated by the value of
char
, and returns the string. For example:
$_ = join ':', $login,$passwd,$uid,$gid,$gcos,$home,$shell;
To do the opposite, see
split
. To join things together into fixed-position fields, see
pack
.