MooseX::Attribute::Prototype::Meta - Metaclass Role for Attribute Prototypes


MooseX-Attribute-Prototype documentation  | view source Contained in the MooseX-Attribute-Prototype distribution.

Index


NAME

Top

MooseX::Attribute::Prototype::Meta - Metaclass Role for Attribute Prototypes

VERSION

Top

0.10 - Released 2009-07-18

SYNOPSIS

Top

Please see MooseX::Attribute::Prototype.

DESCRIPTION

Top

This metaclass role, when injected into an objects metaclass provides the ability to borrow and extend Moose attributes.

INTERNAL METHODS

Top

_parse_prototype_name

Given the name of the prototype in either standard or abbreviated form, returns a hashref with role and attribute key-value pairs.

  # { role => 'M::X::Foo', attribute => 'bar' }
  _parse_prototype_name( 'M::X::Foo/bar' );  

  # { role => 'M::X::Foo', attribute => 'foo' }
  _parse_prototype_name( 'M::X::Foo' );  




SEE ALSO

Top

MooseX::Attribute::Prototype,

MooseX::Attribute::Prototype::Object,

MooseX::Attribute::Prototype::Collection,

Moose

AUTHOR

Top

Christopher Brown, <ctbrown at cpan.org>

BUGS

Top

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

Top

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

    perldoc MooseX::Attribute::Prototype

You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-Attribute-Prototype

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/MooseX-Attribute-Prototype

* CPAN Ratings

http://cpanratings.perl.org/d/MooseX-Attribute-Prototype

* Search CPAN

http://search.cpan.org/dist/MooseX-Attribute-Prototype

ACKNOWLEDGEMENTS

Top

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

Top


MooseX-Attribute-Prototype documentation  | view source Contained in the MooseX-Attribute-Prototype distribution.