Cari di Perl 
    Perl User Manual
Daftar Isi
(Sebelumnya) Locate elements in a list test ...Apply a change to a list to ge ... (Berikutnya)
Functions for list data

Join a list into a string using a separator

Daftar Isi

  • join EXPR,LIST

    Joins the separate strings of LIST into a single string with fieldsseparated by the value of EXPR, and returns that new string. Example:

    1. $rec = join(':', $login,$passwd,$uid,$gid,$gcos,$home,$shell);

    Beware that unlike split, join doesn't take a pattern as itsfirst argument. Compare split.

 
Source : perldoc.perl.org - Official documentation for the Perl programming language
Site maintained by Jon Allen (JJ)     See the project page for more details
Documentation maintained by the Perl 5 Porters
(Sebelumnya) Locate elements in a list test ...Apply a change to a list to ge ... (Berikutnya)