X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=benchmarks%2Fsimple_constructor.pl;h=def63eddb945c1500d346af9103a0bb6ef95c977;hb=db31d100fb6cd8d260452ce3156fa8411b9936c5;hp=66c0ac3875ef3a2b4b11af39789e67912d601f2c;hpb=c8cf9aaaa9bc89f8a889c3c17d163034dc59a410;p=gitmo%2FMoose.git diff --git a/benchmarks/simple_constructor.pl b/benchmarks/simple_constructor.pl index 66c0ac3..def63ed 100644 --- a/benchmarks/simple_constructor.pl +++ b/benchmarks/simple_constructor.pl @@ -10,11 +10,11 @@ my $num_iterations = shift || 100; use Moose; has 'default' => (is => 'rw', default => 10); - has 'default_sub' => (is => 'rw', default => sub { [] }); + has 'default_sub' => (is => 'rw', default => sub { [] }); has 'lazy' => (is => 'rw', default => 10, lazy => 1); - has 'required' => (is => 'rw', required => 1); - has 'weak_ref' => (is => 'rw', weak_ref => 1); - has 'type_constraint' => (is => 'rw', isa => 'ArrayRef'); + has 'required' => (is => 'rw', required => 1); + has 'weak_ref' => (is => 'rw', weak_ref => 1); + has 'type_constraint' => (is => 'rw', isa => 'ArrayRef'); } foreach (0 .. $num_iterations) {