- join EXPR,LIST
-
Joins the separate strings of LIST into a single string with fields separated by the value of EXPR, and returns that new string. Example:
LIST の個別の文字列を、EXPR の値で区切って 1 つの文字列につなげ、その文字列を返します。 例:
my $rec = join(':', $login,$passwd,$uid,$gid,$gcos,$home,$shell);
split
と違って、join
は最初の引数にパターンは取れないことに 注意してください。split
と比較してください。