From: Jesse Luehrs Date: Sat, 18 Jun 2011 17:38:40 +0000 (-0500) Subject: oops, this was supposed to be an expression X-Git-Tag: 2.0102~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f7dc5f37d79f1e9bcbce5d0bf185fdb3633d3fc0;p=gitmo%2FMoose.git oops, this was supposed to be an expression --- diff --git a/lib/Moose/Meta/Class.pm b/lib/Moose/Meta/Class.pm index 57d76f5..1e9173b 100644 --- a/lib/Moose/Meta/Class.pm +++ b/lib/Moose/Meta/Class.pm @@ -765,9 +765,7 @@ sub raise_error { sub _inline_raise_error { my ( $self, $message ) = @_; - return ( - 'die ' . $message . ';', - ); + return 'die ' . $message; } sub create_error {