[Moose-commits] r7760 - Moose/trunk/lib/Moose/Util
autarch at code2.0beta.co.uk
autarch at code2.0beta.co.uk
Sat Feb 21 15:28:35 GMT 2009
Author: autarch
Date: 2009-02-21 07:28:35 -0800 (Sat, 21 Feb 2009)
New Revision: 7760
Modified:
Moose/trunk/lib/Moose/Util/TypeConstraints.pm
Log:
We were leaving the package name in the arg list
Modified: Moose/trunk/lib/Moose/Util/TypeConstraints.pm
===================================================================
--- Moose/trunk/lib/Moose/Util/TypeConstraints.pm 2009-02-20 20:11:05 UTC (rev 7759)
+++ Moose/trunk/lib/Moose/Util/TypeConstraints.pm 2009-02-21 15:28:35 UTC (rev 7760)
@@ -667,6 +667,7 @@
}
sub _throw_error {
+ shift;
require Moose;
unshift @_, 'Moose';
goto &Moose::throw_error;
More information about the Moose-commits
mailing list