unique

# given [1,1,1,1,2,3,1]

$array->unique; # [1,2,3]

The unique method returns an array reference consisting of the unique elements in the array. This method returns a Data::Object::Array object.

unique() : ArrayObject

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 20:

Unknown directive: =description

Around line 25:

Unknown directive: =signature

Around line 29:

Unknown directive: =type