Scroll to navigation

Devel::Declare::Parser::Codeblock(3pm) User Contributed Perl Documentation Devel::Declare::Parser::Codeblock(3pm)

NAME

Devel::Declare::Parser::Codeblock - Parser for functions that just take a codeblock.

DESCRIPTION

This parser can be used to define a function that takes ONLY a codeblock. This is just like a function with the (&) prototype. The difference here is that you do not need to end your block with a semicolon.

RESTRICTIONS

Any arguments before the codeblock will be treated as a syntax error.

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.

2022-06-13 perl v5.34.0