Perl Join Function
by Geethalakshmi[ Edit ] 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"