projects
/
gitmo/MooseX-StrictConstructor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1e037f3
)
Sort list of bad params for consistency
Dave Rolsky [Thu, 15 Nov 2007 18:19:04 +0000 (18:19 +0000)]
lib/MooseX/Object/StrictConstructor.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/Object/StrictConstructor.pm
b/lib/MooseX/Object/StrictConstructor.pm
index
c21a667
..
0d3821d
100644
(file)
--- a/
lib/MooseX/Object/StrictConstructor.pm
+++ b/
lib/MooseX/Object/StrictConstructor.pm
@@
-16,7
+16,7
@@
after 'BUILDALL' => sub
my %attrs = map { $_->name() => 1 } $self->meta()->compute_all_applicable_attributes();
- my @bad = grep { ! $attrs{$_} } keys %{ $params };
+ my @bad = sort grep { ! $attrs{$_} } keys %{ $params };
if (@bad)
{