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

Method Perl.Perl()->get_hash_item()


Method get_hash_item

mixed get_hash_item(string name, mixed key)

Description

Get the value of an entry in a Perl hash variable. Returns the value, or a zero-type value if the hash had no entry for the given key, or a plain 0 if the returned value type was not supported.

Parameter name

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

Parameter key

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