6 my $num_iterations = shift || 100;
12 has 'default' => (is => 'rw', default => 10);
13 has 'default_sub' => (is => 'rw', default => sub { [] });
14 has 'lazy' => (is => 'rw', default => 10, lazy => 1);
15 has 'required' => (is => 'rw', required => 1);
16 has 'weak_ref' => (is => 'rw', weak_ref => 1);
17 has 'type_constraint' => (is => 'rw', isa => 'ArrayRef');
20 foreach (0 .. $num_iterations) {
23 type_constraint => [],