From: Shawn M Moore Date: Thu, 5 Feb 2009 00:46:30 +0000 (+0000) Subject: Fix prototype on message {...} X-Git-Tag: 0.19~65 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0f1dae9ac08898098c9f667c77f2e9ad703f70f3;p=gitmo%2FMouse.git Fix prototype on message {...} --- diff --git a/lib/Mouse/Util/TypeConstraints.pm b/lib/Mouse/Util/TypeConstraints.pm index 77f4a8a..44b0b38 100644 --- a/lib/Mouse/Util/TypeConstraints.pm +++ b/lib/Mouse/Util/TypeConstraints.pm @@ -21,7 +21,7 @@ sub as ($) { sub where (&) { where => $_[0] } -sub message ($) { +sub message (&) { message => $_[0] }