NAME
Object::Simple::Mixin::AttrNames - Mixin class to get attribute names for Object::Simple
VERSION
Version 0.0203
SYNOPSIS
### Book.pm
package Book;
use Object::Simple(
mixin => 'Object::Simple::Mixin::AttrNames'
);
sub title : Attr {}
sub author : Attr {}
Object::Simple->end;
### using Book.pm
my $book = Book->new;
my $attr_names = $book->attr_names; # return [ 'title', 'author' ]
EXPORT
Following method is exported
attr_names
FUNCTIONS
attr_names
get all attribute names
my $attr_names = $book->attr_names;
AUTHOR
Yuki Kimoto, <kimoto.yuki at gmail.com>
BUGS
Please report any bugs or feature requests to bug-object-simple-mixin-attrnames at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Object-Simple-Mixin-AttrNames. 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::AttrNames
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Object-Simple-Mixin-AttrNames
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
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.