21 __PACKAGE__->meta->make_immutable(strict_constructor => 1);
25 MyClass->new(foo => 1);
29 MyClass->new(foo => 1, hoge => 42);
33 MyClass->new(foo => 1, bar => 42);
34 } qr/\b bar \b/xms, "init_arg => undef";
38 MyClass->new(aaa => 1, bbb => 2, ccc => 3);
42 MyClass->new(aaa => 1, bbb => 2, ccc => 3);
46 MyClass->new(aaa => 1, bbb => 2, ccc => 3);