projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c731051
)
Use q{} instead of ''
Dave Rolsky [Fri, 22 Oct 2010 16:10:59 +0000 (11:10 -0500)]
lib/Moose/Meta/Method/Accessor/Native/Writer.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Method/Accessor/Native/Writer.pm
b/lib/Moose/Meta/Method/Accessor/Native/Writer.pm
index
d4bbbf9
..
796be32
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native/Writer.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native/Writer.pm
@@
-132,7
+132,7
@@
sub _inline_check_coercion {
my $attr = $self->associated_attribute;
- return ''
+ return q{}
unless $attr->should_coerce && $attr->type_constraint->has_coercion;
# We want to break the aliasing in @_ in case the coercion tries to make a