home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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.