[Catalyst-commits] r9163 - Catalyst-Runtime/5.80/trunk/lib/Catalyst

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Mon Feb 2 15:24:34 GMT 2009


Author: t0m
Date: 2009-02-02 15:24:34 +0000 (Mon, 02 Feb 2009)
New Revision: 9163

Modified:
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Upgrading.pod
Log:
Add note about another syntax used screw your self with C3

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Upgrading.pod
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Upgrading.pod	2009-02-02 15:02:49 UTC (rev 9162)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Upgrading.pod	2009-02-02 15:24:34 UTC (rev 9163)
@@ -24,10 +24,20 @@
     extends qw/Moose::Object Catalyst::Component/;
 
 to be able to use the constructor provided by Moose. In 5.80
-C<Catalyst::Component> already inherits from C<Moose::Object>. Therefor you
+C<Catalyst::Component> already inherits from C<Moose::Object>. Therefore you
 shouldn't directly inherit from C<Moose::Object> yourself, otherwise your
 Class' @ISA will not linearize with C3.
 
+You will also see this issue if you do the following:
+
+    use Moose; 
+    use base 'Catalyst::Controller';
+
+as C< use base > appends to @ISA.
+
+FIXME - Add note about the appropriate magic to detect $Catalyst::VERSION
+and work around it at compile time.
+
 =head2 Anonymous closures installed directly into the symbol table
 
 If you have any code which installs anonymous subroutine references directly




More information about the Catalyst-commits mailing list