mcoder::proxy - Perl extension for proxy methods generation
use mcoder::proxy legs => qw(run walk jump); # is equivalent to... # sub run { shift->legs->run(@_) }; # sub walk { shift->legs->walk(@_) }; # sub jump { shift->legs->jump(@_) }; use mcoder::proxy q({_cutter}) => qw(cut); # sub cut { shift->{_cutter}->cut(@_) }; use mcoder::proxy coder => { code_c => 'code' }; # sub code_c { shift->coder->code(@_) };
create proxy methods to other objects accessible via a has-a relation
look at the synopsis!
the proxy 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.