1MooseX::AttributeHelperUss:eM:roCooCsloelnXet:cr:tiAibtoutntr:ei:dbIumPtmeeurHtlealbDploeecrHusam:se:hnC(to3al)tlieocntion::ImmutableHash(3)
2
3
4
6 MooseX::AttributeHelpers::Collection::ImmutableHash
7
9 package Stuff;
10 use Moose;
11 use MooseX::AttributeHelpers;
12
13 has 'options' => (
14 metaclass => 'Collection::ImmutableHash',
15 is => 'ro',
16 isa => 'HashRef[Str]',
17 default => sub { {} },
18 provides => {
19 'get' => 'get_option',
20 'empty' => 'has_options',
21 'keys' => 'get_option_list',
22 }
23 );
24
26 This module provides a immutable HashRef attribute which provides a
27 number of hash-line operations. See MooseX::AttributeHelpers::Methodā
28 Provider::ImmutableHash for more details.
29
31 meta
32 method_provider
33 has_method_provider
34 helper_type
35
37 All complex software has bugs lurking in it, and this module is no
38 exception. If you find a bug please either email me, or add the bug to
39 cpan-RT.
40
42 Stevan Little <stevan@iinteractive.com>
43
45 Copyright 2007 by Infinity Interactive, Inc.
46
47 <http://www.iinteractive.com>
48
49 This library is free software; you can redistribute it and/or modify it
50 under the same terms as Perl itself.
51
52
53
54perl v5.8.8 MooseX::At2t0r0i8b-u0t1e-H0e6lpers::Collection::ImmutableHash(3)