From: Dave Rolsky Date: Fri, 22 Oct 2010 16:10:59 +0000 (-0500) Subject: Use q{} instead of '' X-Git-Tag: 1.18~68 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d26c82ab01d405ba41f1c28cdd2f2c8ffa215de1;p=gitmo%2FMoose.git Use q{} instead of '' --- diff --git a/lib/Moose/Meta/Method/Accessor/Native/Writer.pm b/lib/Moose/Meta/Method/Accessor/Native/Writer.pm index d4bbbf9..796be32 100644 --- 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