Parser for functions that just take a codeblock.
This parser can be used to define a function that takes \s-1ONLY\s0 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 [email protected]
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 \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the license for more details.