The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

MooseX::Attribute::Prototype::Object - Attribute Prototype Class

VERSION

0.10 - released 2009-07-18

SYNOPSIS

    use MooseX::Attribute::Prototype::Object;

    my $proto = MooseX::Attribute::Prototype::Object->new(
        name => 'MooseX::Foo/bar' ,  # The 'bar' attribute from MooseX::Foo.pm
    );
    
    # -OR-
    
    my $proto = MooseX::Attribute::Prototype::Object->new( 
        name => 'MooseX::Foo' ,      # The 'foo' attribute the MooseX::Foo.pm
    };

DESCRIPTION

This class is use internally by MooseX::Attribute::Prototype to manage the specifications for prototype attributes.

This module provides an attribute prototype class, MooseX::Attribute::Prototype::Object that holds all of the user specification for an attribute without actually installing the attribute. Later, the prototype can provide defaults for other attributes.

Attributes

name (required)

The name for the attribute prototype in the form of Role/attribute or simply role. In the later case, attribute used a prototype the name of the module file in lower case without the .pm suffix.

role

The role in which the prototype attribute lives. This is automatically set.

attribute

The name of the attribute for the prototype. This is automatically set.

options

The specifications for the attribute. This is automatically set.

referenced

SEE ALSO

MooseX::Attribute::Prototype,

MooseX::Attribute::Prototype::Object,

MooseX::Attribute::Prototype::Collection,

Moose

AUTHOR

Christopher Brown, <ctbrown at cpan.org>

BUGS

Please report any bugs or feature requests to bug-moosex-attribute at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Attribute-Prototpye. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

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

    perldoc MooseX::Attribute::Prototype

You can also look for information at:

ACKNOWLEDGEMENTS

Though they would probably cringe to hear it, this effort would not have been possible without:

Shawn Moore

David Rolsky

Thomas Doran

Stevan Little

COPYRIGHT & LICENSE

Copyright 2009 Christopher Brown and Open Data Group http://opendatagroup.com, all rights reserved.

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