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

NAME

Object::Simple::Mixin::Meta - Mixin to meta information [DISCOURAGED]

CAUTION

This module is discouraged now, because I feel meta information is not need for module author.

I will not maintain this module.

VERSION

Version 0.0103

SYNOPSIS

    ### 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;

EXPORT

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 => {
            ...
        }
    }

AUTHOR

Yuki Kimoto, <kimoto.yuki at gmail.com>

BUGS

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.

SUPPORT

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

    perldoc Object::Simple::Mixin::Meta

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

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.