[Catalyst-commits] r10091 - in Catalyst-Runtime/5.80/trunk: . lib/Catalyst

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Tue May 12 11:58:38 GMT 2009


Author: t0m
Date: 2009-05-12 11:58:37 +0000 (Tue, 12 May 2009)
New Revision: 10091

Modified:
   Catalyst-Runtime/5.80/trunk/Changes
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Upgrading.pod
Log:
Fix docs as pointed out on the list

Modified: Catalyst-Runtime/5.80/trunk/Changes
===================================================================
--- Catalyst-Runtime/5.80/trunk/Changes	2009-05-12 11:53:40 UTC (rev 10090)
+++ Catalyst-Runtime/5.80/trunk/Changes	2009-05-12 11:58:37 UTC (rev 10091)
@@ -6,6 +6,8 @@
           to the class actually calling the deprecated method. RT#45741 (t0m)
         - Clarify limitations of $request->base and $request->secure.
           (Phil Mitchell)
+        - Add 'use Catalyst' to documentation for a Moose MyApp class as
+          noted by dmaki. (t0m)
 
 5.80003 2009-04-29 16:23:53
         - Various POD tweaks. (hdp, dandv)

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Upgrading.pod
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Upgrading.pod	2009-05-12 11:53:40 UTC (rev 10090)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Upgrading.pod	2009-05-12 11:58:37 UTC (rev 10091)
@@ -126,7 +126,11 @@
 
     package MyApp;
     use Moose;
+    use Catalyst;
+
     extends 'Catalyst';
+
+    __PACKAGE__->config( name => 'MyApp' );
     __PACKAGE__->setup(qw/
         ConfigLoader
     /);




More information about the Catalyst-commits mailing list