Subject: | Policy suggestion: Require croak/die when getting wrong number of args |
I don't know how to write Perl::Critic policies, so I'm submitting this
suggestion here.
Many methods and subroutines take key/value pairs as arguments. It feels
natural, then, to write something like this:
sub new {
}