Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: ioctlChapter 5
Function Reference
Next: Reference: keys
 

join

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.


Previous: Reference: ioctlPerl in a NutshellNext: Reference: keys
Reference: ioctlBook IndexReference: keys

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.