start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: ioctl Chapter 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: ioctl Perl in a Nutshell Next: Reference: keys
Reference: ioctl Book Index Reference: keys

Library Navigation Links

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