mcoder::set - Perl extension for set methods generation
use mcoder::set qw(runner walker jumper); # is equivalent to... # sub set_runner { $_[0]->{runner}=$_[1] }; # sub set_walker { $_[0]->{walker}=$_[1] }; # sub set_jumper { $_[0]->{jumper}=$_[1] }; use mcoder::set { coder => '_coder' }; # sub set_coder { $_[0]->{_coder}=$_[1] };
create set methods to change object attributes
look at the synopsis!
the set 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.