1MooseX::AttributeHelperUss:e:rCoClolnetcrtiMiboouonts:ee:dXB:aP:geA(rt3ltprmDi)obcuutmeeHnetlapteirosn::Collection::Bag(3pm)
2
3
4
6 MooseX::AttributeHelpers::Collection::Bag
7
9 version 0.25
10
12 package Stuff;
13 use Moose;
14 use MooseX::AttributeHelpers;
15
16 has 'word_histogram' => (
17 metaclass => 'Collection::Bag',
18 is => 'ro',
19 isa => 'Bag', # optional ... as is default
20 provides => {
21 'add' => 'add_word',
22 'get' => 'get_count_for',
23 'empty' => 'has_any_words',
24 'count' => 'num_words',
25 'delete' => 'delete_word',
26 }
27 );
28
30 This module provides a Bag attribute which provides a number of bag-
31 like operations. See MooseX::AttributeHelpers::MethodProvider::Bag for
32 more details.
33
35 meta
36 method_provider
37 has_method_provider
38 helper_type
39 process_options_for_provides
40
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
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.28.0 Mo2o0s1e6X-:0:2A-t1t6ributeHelpers::Collection::Bag(3pm)