Extracted from Pike v7.4 release 117 at 2004-07-26.
pike.ida.liu.se
[Top]
predef::
Perl
Perl.Perl

Method Perl.Perl()->set_array_item()


Method set_array_item

void set_array_item(string name, int index, mixed value)

Description

Set the value of an entry in a Perl array variable. Only simple value types are supported. Throws an error for unsupported value types.

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.

Parameter value

New value. Only simple value types are supported. An error is thrown for unsupported value types.