join

# given [1..5]

$array->join; # 12345
$array->join(', '); # 1, 2, 3, 4, 5

The join method returns a string consisting of all the elements in the array joined by the join-string specified by the argument. Note: If the argument is omitted, an empty string will be used as the join-string. This method returns a Data::Object::String object.

join(Str $arg1) : StrObject

method

5 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

Unknown directive: =name

Around line 14:

Unknown directive: =usage

Around line 21:

Unknown directive: =description

Around line 28:

Unknown directive: =signature

Around line 32:

Unknown directive: =type