1MooseX::AttributeHelperUss:e:rMeCtohnMotodroPisrbeouXvt:ie:ddAetrPt:er:riHlbausDthoe(cH3ue)mlepnetrast:i:oMnethodProvider::Hash(3)
2
3
4

NAME

6       MooseX::AttributeHelpers::MethodProvider::Hash
7

DESCRIPTION

9       This is a role which provides the method generators for
10       MooseX::AttributeHelpers::Collection::Hash.
11
12       This role is composed from the
13       MooseX::AttributeHelpers::Collection::ImmutableHash role.
14

METHODS

16       meta
17

PROVIDED METHODS

19       count
20           Returns the number of elements in the hash.
21
22       delete
23           Removes the element with the given key
24
25       defined
26           Returns true if the value of a given key is defined
27
28       empty
29           If the list is populated, returns true. Otherwise, returns false.
30
31       clear
32           Unsets the hash entirely.
33
34       exists
35           Returns true if the given key is present in the hash
36
37       get Returns an element of the hash by its key.
38
39       keys
40           Returns the list of keys in the hash.
41
42       set Sets the element in the hash at the given key to the given value.
43
44       values
45           Returns the list of values in the hash.
46
47       kv  Returns the  key, value pairs in the hash
48
49       accessor
50           If passed one argument, returns the value of the requested key. If
51           passed two arguments, sets the value of the requested key.
52

BUGS

54       All complex software has bugs lurking in it, and this module is no
55       exception. If you find a bug please either email me, or add the bug to
56       cpan-RT.
57

AUTHOR

59       Stevan Little <stevan@iinteractive.com>
60
62       Copyright 2007-2009 by Infinity Interactive, Inc.
63
64       <http://www.iinteractive.com>
65
66       This library is free software; you can redistribute it and/or modify it
67       under the same terms as Perl itself.
68
69
70
71perl v5.12.0                 Moose2X0:1:0A-t0t1r-i0b1uteHelpers::MethodProvider::Hash(3)
Impressum