something like Method::Signatures, or MooseX::Declare might be an idea.You mean "a terrible idea," right? Whether they're "functions" or "methods" (i.e. "functions where the type of the first argument determines the function to be called"), verifying input and output is the same.
In reply to Re^4: Pre/post subroutine assertions and documentation module?
by educated_foo
in thread Pre/post subroutine assertions and documentation module?
by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |