On Mon, 25 Feb 2008, [EMAIL PROTECTED] wrote:
I want to be able to see if a constructor was called with undefined attributes:
package Foo;
use Moose;
has 'foo' => ( 'is' => 'ro', 'isa' => 'Str' );
my $obj = Foo->new( 'foo' => 'bar', 'fake' => 'something');
#I want to be able to see that fake was not processed by the constructor.
Maybe you want MooseX::StrictConstructor?
-dave
/*===================================================
VegGuide.Org www.BookIRead.com
Your guide to all that's veg. My book blog
===================================================*/