defined

# given [1,2,undef,4,5]

$array->defined(2); # 0; false
$array->defined(1); # 1; true

The defined method returns true if the element within the array at the index specified by the argument meets the criteria for being defined, otherwise it returns false. This method returns a Data::Object::Number object.

defined() : NumObject

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

Unknown directive: =signature

Around line 31:

Unknown directive: =type