projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
complicated expressions can't be dereferenced directly
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Method
/
Accessor
/
Native
/
Hash
/
is_empty.pm
diff --git
a/lib/Moose/Meta/Method/Accessor/Native/Hash/is_empty.pm
b/lib/Moose/Meta/Method/Accessor/Native/Hash/is_empty.pm
index
8f886b6
..
2de1604
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native/Hash/is_empty.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native/Hash/is_empty.pm
@@
-20,7
+20,7
@@
sub _return_value {
my $self = shift;
my $slot_access = shift;
- return "scalar keys \%{ $slot_access } ? 0 : 1";
+ return "scalar keys \%{ ($slot_access) } ? 0 : 1";
}
no Moose::Role;