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.

2023-10-26 perl v5.36.0