Chad Granum


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


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.


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


Chad Granum


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.