Devel::Declare::Parser::Method - Parser that shifts $self automatically in codeblocks.
This parser can be used to define a function that takes a single name, and a single codeblock. This is just like the 'sub' keyword. The name can be either a bareword, or a quoted string.
Codeblocks defined when using the keyword will have '$self' shifted off automatically.
Chad Granum exodist7@gmail.com
Copyright (C) 2010 Chad Granum
Devel-Declare-Parser is free software; Standard perl licence.
Devel-Declare-Parser is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
To install Devel::Declare::Parser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Declare::Parser
CPAN shell
perl -MCPAN -e shell install Devel::Declare::Parser
For more information on module installation, please visit the detailed CPAN module installation guide.