Devel::Declare::Parser::Method(3pm)

Devel::Declare::Parser::Method3pm

Parser that shifts $self automatically in codeblocks.

Overview

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9–10
  3. 11
  4. 12
  5. 13

Authors

Chad Granum [email protected]

From libdevel-declare-parser-perl 0.021-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.