Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 42789
Status: rejected
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: hinrik.sig [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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 { }
On Mon Jan 26 03:04:10 2009, HINRIK wrote: Show quoted text
> 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 { > > }
This ticket can be closed/deleted. I hit the "Create" button too soon. See ticket #42790 instead.
This bug is a dupe.