mcoder::get - Perl extension for get methods generation
use mcoder::get qw(runner walker jumper); # is equivalent to... # sub runner { $_[0]->{runner} }; # sub walker { $_[0]->{walker} }; # sub jumper { $_[0]->{jumper} }; use mcoder::get { coder => '_coder' }; # sub coder { $_[0]->{_coder} };
create get methods to retrieve object attributes
look at the synopsis!
the get methods defined
Class::MethodMaker
Salvador Fandiño, <sfandino@yahoo.com>
Copyright 2003 by Salvador Fandiño
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Fandiño,'. Assuming CP1252
To install mcoder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm mcoder
CPAN shell
perl -MCPAN -e shell install mcoder
For more information on module installation, please visit the detailed CPAN module installation guide.