1MooseX::AttributeHelperUss:e:rTMrCoaooinstte:rX:i:Cb:ouAlttletedrcitPbieuortnle:H:DeHolacpsuehmr(es3n:)t:aTtriaoint::Collection::Hash(3)
2
3
4
6 MooseX::AttributeHelpers::Collection::Hash
7
9 package Stuff;
10 use Moose;
11 use MooseX::AttributeHelpers;
12
13 has 'options' => (
14 metaclass => 'Collection::Hash',
15 is => 'ro',
16 isa => 'HashRef[Str]',
17 default => sub { {} },
18 provides => {
19 'set' => 'set_option',
20 'get' => 'get_option',
21 'empty' => 'has_options',
22 'count' => 'num_options',
23 'delete' => 'delete_option',
24 }
25 );
26
28 This module provides a Hash attribute which provides a number of hash-
29 like operations. See MooseX::AttributeHelpers::MethodProvider::Hash for
30 more details.
31
33 meta
34 method_provider
35 has_method_provider
36 helper_type
37
39 All complex software has bugs lurking in it, and this module is no
40 exception. If you find a bug please either email me, or add the bug to
41 cpan-RT.
42
44 Stevan Little <stevan@iinteractive.com>
45
47 Copyright 2007-2009 by Infinity Interactive, Inc.
48
49 <http://www.iinteractive.com>
50
51 This library is free software; you can redistribute it and/or modify it
52 under the same terms as Perl itself.
53
54
55
56perl v5.12.0 MooseX::2A0t1t0r-i0b1u-t0e1Helpers::Trait::Collection::Hash(3)