1MooseX::AttributeHelperUss:eM:roCooCsloelnXet:cr:tiAibtoutntr:ei:dbIumPtmeeurHtlealbDploeecrHusam:se:hnC(to3al)tlieocntion::ImmutableHash(3)
2
3
4

NAME

6       MooseX::AttributeHelpers::Collection::ImmutableHash
7

SYNOPSIS

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

DESCRIPTION

26       This module provides a immutable HashRef attribute which provides a
27       number of hash-line operations. See
28       MooseX::AttributeHelpers::MethodProvider::ImmutableHash for more
29       details.
30

METHODS

32       meta
33       method_provider
34       has_method_provider
35       helper_type
36

BUGS

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

AUTHOR

43       Stevan Little <stevan@iinteractive.com>
44
46       Copyright 2007-2009 by Infinity Interactive, Inc.
47
48       <http://www.iinteractive.com>
49
50       This library is free software; you can redistribute it and/or modify it
51       under the same terms as Perl itself.
52
53
54
55perl v5.12.0            MooseX::At2t0r1i0b-u0t1e-H0e1lpers::Collection::ImmutableHash(3)
Impressum