Add explicit check for odd number of args to new and give a useful warning
authorDave Rolsky <autarch@urth.org>
Sun, 17 Oct 2010 15:16:23 +0000 (10:16 -0500)
committerDave Rolsky <autarch@urth.org>
Sun, 17 Oct 2010 15:16:23 +0000 (10:16 -0500)
commit0d922627c71aad7f8ad45216a4b43f713f0a4a6f
tree72f84dae4b2b0ea4822d18f4b1a2e894c44d2c7b
parentbcbb1f7b37157abe8cf2d9f3020ae21fce636c02
Add explicit check for odd number of args to new and give a useful warning
Changes
lib/Moose/Meta/Method/Constructor.pm
lib/Moose/Object.pm
t/010_basics/022_buildargs_warning.t [new file with mode: 0644]