Object::Simple::Mixin::Meta - Mixin to meta information [DISCOURAGED]
This module is discouraged now, because I feel meta information is not need for module author.
I will not maintain this module.
Version 0.0103
### Book.pm package Book; use Object::Simple( mixins => ['Object::Simple::Mixin::Meta'] ); sub title : Attr { default => 1, read_only => 1 } sub author : Attr { default => 2, chained => 1 } Object::Simple->build_class; ### using Book.pm use Book; my $book = Book->new; my $meta_info = $book->meta; # or my $meta_info = Book->meta;
meta
get meta information
my $meta_info = $book->attr_options;
meta return hash reference like this.
{ attr_options => { title => {default => 1, read_only => 1}, author => {default => 2} }, mearged_attr_options => { ... } }
Yuki Kimoto, <kimoto.yuki at gmail.com>
<kimoto.yuki at gmail.com>
Please report any bugs or feature requests to bug-object-simple-mixin-meta at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Object-Simple-Mixin-Meta. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-object-simple-mixin-meta at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Object::Simple::Mixin::Meta
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Object-Simple-Mixin-Meta
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Object-Simple-Mixin-Meta
CPAN Ratings
http://cpanratings.perl.org/d/Object-Simple-Mixin-Meta
Search CPAN
http://search.cpan.org/dist/Object-Simple-Mixin-Meta/
Copyright 2009 Yuki Kimoto, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Object::Simple::Mixin::Meta, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Object::Simple::Mixin::Meta
CPAN shell
perl -MCPAN -e shell install Object::Simple::Mixin::Meta
For more information on module installation, please visit the detailed CPAN module installation guide.