Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Perl
Perl.Perl

Method Perl.Perl()->get_array_item()


Method get_array_item

mixed get_array_item(string name, int index)

Description

Get the value of an entry in a Perl array variable. Returns the value, or a zero-type value if indexing outside the array, or a plain zero if the value type was not supported.

Parameter name

Name of the array variable, as an 8-bit string.

Parameter index

Array index. An error is thrown if the index is negative, non-integer or a bignum.