[Bps-public-commit] r20118 - Lorzy/trunk/lib/Lorzy

sartak at bestpractical.com sartak at bestpractical.com
Tue Sep 22 06:52:09 EDT 2009


Author: sartak
Date: Tue Sep 22 06:52:07 2009
New Revision: 20118

Modified:
   Lorzy/trunk/lib/Lorzy/Expression.pm

Log:
Load expression subclasses after making immutable

    New Moose warns about this. RT4 still loads Lorzy and it's very loud

Modified: Lorzy/trunk/lib/Lorzy/Expression.pm
==============================================================================
--- Lorzy/trunk/lib/Lorzy/Expression.pm	(original)
+++ Lorzy/trunk/lib/Lorzy/Expression.pm	Tue Sep 22 06:52:07 2009
@@ -32,10 +32,11 @@
     return $ev->result->value;
 }
 
+__PACKAGE__->meta->make_immutable;
+
 # force loading of each expression subclass
 __PACKAGE__->expression_types;
 
-__PACKAGE__->meta->make_immutable;
 no Moose;
 
 1;



More information about the Bps-public-commit mailing list