From: Shawn M Moore Date: Tue, 17 Jun 2008 03:45:22 +0000 (+0000) Subject: Forgot "if @_", oops :) X-Git-Tag: 0.19~298 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e5f31f1f0660e9c8b0f8f55b181f0edb55b650fb;p=gitmo%2FMouse.git Forgot "if @_", oops :) --- diff --git a/lib/Mouse.pm b/lib/Mouse.pm index 939d845..c6a7a2a 100644 --- a/lib/Mouse.pm +++ b/lib/Mouse.pm @@ -76,7 +76,7 @@ do { my $role = shift; my $class = $caller->meta; - confess "Mouse::Role only supports 'with' on individual roles at a time"; + confess "Mouse::Role only supports 'with' on individual roles at a time" if @_; Mouse::load_class($role); $role->meta->apply_to_class($class);