From: Dave Rolsky Date: Sun, 21 Jun 2009 20:10:04 +0000 (-0500) Subject: Add an explicit return X-Git-Tag: 0.88~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=089535f2f76516bbeebd54edcd3e9b80c54cbfd3;p=gitmo%2FClass-MOP.git Add an explicit return --- diff --git a/lib/Class/MOP/Method/Generated.pm b/lib/Class/MOP/Method/Generated.pm index 9275173..20d2c2a 100644 --- a/lib/Class/MOP/Method/Generated.pm +++ b/lib/Class/MOP/Method/Generated.pm @@ -84,7 +84,7 @@ sub _compile_code { my $code = $self->_add_line_directive(%args); - $self->_eval_closure($args{environment}, $code); + return $self->_eval_closure($args{environment}, $code); } 1;