Scroll to navigation

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

NAME

Devel::Declare::Parser::Sublike - Parser that acts just like 'sub'

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.

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