1MooseX::AttributeHelperUss:e:rMTorCoaosinettX:r::i:CbAoutlttleredicbtPuietorenlH:e:DlBopacegur(ms3e:pn:mtT)artaiiotn::Collection::Bag(3pm)
2
3
4

NAME

6       MooseX::AttributeHelpers::Trait::Collection::Bag
7

VERSION

9       version 0.25
10

SYNOPSIS

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 defalt
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

DESCRIPTION

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

METHODS

35       meta
36       method_provider
37       has_method_provider
38       helper_type
39       process_options_for_provides
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::A2t0t2r1i-b0u7t-e2H2elpers::Trait::Collection::Bag(3pm)
Impressum