Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Devel::Declare::ParserUsertContributed Perl DDevel::Declare::Parser::Method(3)

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

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.

AUTHORS
       Chad Granum exodist7@gmail.com

COPYRIGHT
       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.

perl v5.24.1			  2017-07-02 Devel::Declare::Parser::Method(3)

NAME | DESCRIPTION | EXTRAS WHEN USING THE KEYWORD | AUTHORS | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Devel::Declare::Parser::Method&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help