1MooseX::AttributeHelperUss:e:rCoClolnetcrtiibouMnto:eo:dsBeaPXge:(r:3lA)tDtorciubmuetnetHaetlipoenrs::Collection::Bag(3)
2
3
4
6 MooseX::AttributeHelpers::Collection::Bag
7
9 package Stuff;
10 use Moose;
11 use MooseX::AttributeHelpers;
12
13 has 'word_histogram' => (
14 metaclass => 'Collection::Bag',
15 is => 'ro',
16 isa => 'Bag', # optional ... as is defalt
17 provides => {
18 'add' => 'add_word',
19 'get' => 'get_count_for',
20 'empty' => 'has_any_words',
21 'count' => 'num_words',
22 'delete' => 'delete_word',
23 }
24 );
25
27 This module provides a Bag attribute which provides a number of bag-
28 like operations. See MooseX::AttributeHelpers::MethodProvider::Bag for
29 more details.
30
32 meta
33 method_provider
34 has_method_provider
35 helper_type
36 process_options_for_provides
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 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.8.8 2M0o0o8s-e0X1:-:0A6ttributeHelpers::Collection::Bag(3)