logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Devel::Declare::Parser::Method - Parser that shifts $self automatically in codeblocks.

Authors

       Chad Granum exodist7@gmail.com

Description

       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.

Extras When Using The Keyword

       Codeblocks defined when using the keyword will have '$self' shifted off automatically.

Name

       Devel::Declare::Parser::Method - Parser that shifts $self automatically in codeblocks.

See Also