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.
|Replies are listed 'Best First'.|
Re^5: Pre/post subroutine assertions and documentation module?
by tobyink (Canon) on Jan 12, 2012 at 21:52 UTC