Lines Matching refs:hash

157             $out .= "    croak 'Initializer for $name must be hash reference'\n";
171 $out .= " else { croak 'Initializer for $name must be hash or $type reference' }\n";
257 # declare struct, based on hash:
289 # hash type accessor:
290 $hash_ref = $obj->h; # reference to whole hash
291 $hash_element_value = $obj->h('x'); # hash element value
292 $obj->h('x', 'new value'); # assign to hash element
314 Each element's type can be scalar, array, hash, or class.
330 second form is based on a hash. The array-based forms will be
331 somewhat faster and smaller; the hash-based forms are more
339 Furthermore, if the class is hash-based, the key of each element is
366 The four element types -- scalar, array, hash, and class -- are
407 The element is a hash, initialized by default to C<()>.
410 element's whole hash (whether or not the element was
414 one element of the hash; the second argument, if present, is
415 assigned to the hash element. If the element type is C<'%'>, the
416 accessor returns the hash element value. If the element type is
417 C<'*%'>, a reference to the hash element is returned.
419 As a special case, when the accessor is called with a hash reference
420 as the sole argument, this causes an assignment of the whole hash element.
448 for a hash is a hash reference.
451 or of one of it's subclasses, or a reference to a hash containing named
533 an object of that class, or as a reference to a hash of initializers
571 Now will also take an object ref instead of requiring a hash ref.
576 * the class might not have a hash-like-arguments constructor
589 Added handling of hash-like arg list to class ctor.
594 Added classname prefixes to keys in hash-based classes
599 returning a reference to an entire hash or array element.