1Moose::Autobox::Hash(3)User Contributed Perl DocumentatioMnoose::Autobox::Hash(3)
2
3
4
6 Moose::Autobox::Hash - the Hash role
7
9 use Moose::Autobox;
10
11 print { one => 1, two => 2 }->keys->join(', '); # prints 'one, two'
12
14 This is a role to describes a Hash value.
15
17 delete
18 merge
19 Takes a hashref and returns a new hashref with right precedence
20 shallow merging.
21
22 hslice
23 Slices a hash but returns the keys and values as a new hashref.
24
25 flatten
26
27 Indexed implementation
28 at
29 put
30 exists
31 keys
32 values
33 kv
34 slice
35 each
36 each_key
37 each_value
38 each_n_values
39 meta
40 print
41 say
42
44 All complex software has bugs lurking in it, and this module is no
45 exception. If you find a bug please either email me, or add the bug to
46 cpan-RT.
47
49 Stevan Little <stevan@iinteractive.com>
50
52 Copyright 2006-2008 by Infinity Interactive, Inc.
53
54 <http://www.iinteractive.com>
55
56 This library is free software; you can redistribute it and/or modify it
57 under the same terms as Perl itself.
58
59
60
61perl v5.12.2 2010-04-23 Moose::Autobox::Hash(3)