NAME

MooseX::AttributeHelper::Set::Object - Attribute helper for Set::Object

VERSION

Version 0.01 released 07/16/2008

SYNOPSIS

package Publisher;
use Moose;
use MooseX::AttributeHelper::Set::Object;

has _subscribers => (
    metaclass => 'Set::Object',
    is        => 'ro',
    provides  => {
        insert   => 'subscribe',
        remove   => 'unsubscribe',
        invert   => 'toggle_subscription',
        clear    => 'remove_all_subscribers',
        elements => 'subscribers',
        contains => 'is_subscriber',
        size     => 'num_subscribers',
    },
);

DESCRIPTION

This module implements a Set attribute using the Set::Object class. See MooseX::AttributeHelper::MethodProvider::Set::Object for the list of methods it provides.

SEE ALSO

Moose, MooseX::AttributeHelpers, Set::Object

AUTHOR

Jesse Luehrs, <jluehrs2 at uiuc.edu>

BUGS

No known bugs.

Please report any bugs through RT: email bug-moosex-attributehelper-set-object at rt.cpan.org, or browse http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-AttributeHelper-Set-Object.

SUPPORT

You can find this documentation for this module with the perldoc command.

perldoc MooseX::AttributeHelper::Set::Object

You can also look for information at:

COPYRIGHT AND LICENSE

Copyright 2008 Jesse Luehrs.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.