clear

# given ['a'..'g']

$array->clear; # []

The clear method is an alias to the empty method. This method returns a Data::Object::Undef object. This method is an alias to the empty method. Note: This method modifies the array.

clear() : Object

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

Unknown directive: =signature

Around line 30:

Unknown directive: =type