The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

mop::manual::details::methods - A manual for p5-mop

DESCRIPTION

TODO

GRAMMAR

Method in the p5-mop are defined in the following way:

  method NAME
    ?( '(' VARIABLE ?(= EXPR) ?(, VARIABLE ?(= EXPR))* ')' )
    ?(is TRAIT ?(, TRAIT)*)
  BLOCK

The method keyword is followed by name.

Which is optionally followed by a list of method parameters wrapped in parentheses. Method parameters are simple variables optionally followed by the assignment operator (=) which is then followed by a perl expression.

Which is optionally followed by the is keyword that is followed by a comma separated list of traits you wish to be applied to your method.

After this comes a block, within which you can define the body of the method.

BUGS

Since this module is still under development we would prefer to not use the RT bug queue and instead use the built in issue tracker on Github.

Git Repository

Issue Tracker

AUTHOR

Stevan Little <stevan.little@iinteractive.com>

Jesse Luehrs <doy@tozt.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.