1MooseX::AttributeHelperUss:eM:roTorCsaoeinXtt::r::iACbtoutltrleiedbcutPtieeorHnle:l:DpHoeacrsushm:(e:3nTptrmaa)tiito:n:Collection::Hash(3pm)
2
3
4

NAME

6       MooseX::AttributeHelpers::Trait::Collection::Hash
7

VERSION

9       version 0.25
10

SYNOPSIS

12         package Stuff;
13         use Moose;
14         use MooseX::AttributeHelpers;
15
16         has 'options' => (
17             metaclass => 'Collection::Hash',
18             is        => 'ro',
19             isa       => 'HashRef[Str]',
20             default   => sub { {} },
21             provides  => {
22                 'set'    => 'set_option',
23                 'get'    => 'get_option',
24                 'empty'  => 'has_options',
25                 'count'  => 'num_options',
26                 'delete' => 'delete_option',
27             }
28         );
29

DESCRIPTION

31       This module provides a Hash attribute which provides a number of hash-
32       like operations. See MooseX::AttributeHelpers::MethodProvider::Hash for
33       more details.
34

METHODS

36       meta
37       method_provider
38       has_method_provider
39       helper_type
40

SUPPORT

42       Bugs may be submitted through the RT bug tracker
43       <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-
44       AttributeHelpers> (or bug-MooseX-AttributeHelpers@rt.cpan.org
45       <mailto:bug-MooseX-AttributeHelpers@rt.cpan.org>).
46
47       There is also a mailing list available for users of this distribution,
48       at <http://lists.perl.org/list/moose.html>.
49
50       There is also an irc channel available for users of this distribution,
51       at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
52

AUTHOR

54       Stevan Little <stevan@iinteractive.com>
55
57       This software is copyright (c) 2007 by Stevan Little and Infinity
58       Interactive, Inc.
59
60       This is free software; you can redistribute it and/or modify it under
61       the same terms as the Perl 5 programming language system itself.
62
63
64
65perl v5.34.0            MooseX::At2t0r2i1b-u0t7e-H2e2lpers::Trait::Collection::Hash(3pm)
Impressum