Perl Join Function

by Geethalakshmi 2010-09-17 14:09:54

Perl Join Function


The join() function is used to convert the array back to a single variable. The first value in the expression represents the delimiter value or expression to use.

$bigfield = join("AND", @fields);

$bigfield = "field1ANDfield2ANDlastfield"

Tagged in:

800
like
0
dislike
0
mail
flag

You must LOGIN to add comments