Salvador Fandiño García > mcoder > mcoder::proxy

Download:
mcoder-0.10.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

mcoder::proxy - Perl extension for proxy methods generation

SYNOPSIS ^

  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(@_) };

ABSTRACT ^

create proxy methods to other objects accessible via a has-a relation

DESCRIPTION ^

look at the synopsis!

EXPORT

the proxy methods defined

SEE ALSO ^

Class::MethodMaker

AUTHOR ^

Salvador Fandiño, <sfandino@yahoo.com>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: