[Catalyst-commits] r12829 - in Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial: . 09_AdvancedCRUD

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Sun Feb 7 12:39:32 GMT 2010


Author: caelum
Date: 2010-02-07 12:39:32 +0000 (Sun, 07 Feb 2010)
New Revision: 12829

Modified:
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/01_Intro.pod
   Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod
Log:
update chapter 9 formfu POD

Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/01_Intro.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/01_Intro.pod	2010-02-07 12:38:18 UTC (rev 12828)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/01_Intro.pod	2010-02-07 12:39:32 UTC (rev 12829)
@@ -620,16 +620,16 @@
     wget http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/Tutorial/MyApp_Chapter8.tgz
     tar zxvf MyApp_Chapter8.tgz
     cd MyApp
-    CATALYST_DEBUG=0 prove --lib lib t
+    CATALYST_DEBUG=0 prove -wl t
 
-If you wish to include the L<HTML::FormFu|HTML::FormFu> section in 
-your tests, substitute C<MyApp_Chapter9_FormFu.tgz> for 
-C<MyApp_Chapter8.tgz> in the URL above.
+If you wish to include the L<HTML::FormFu|HTML::FormFu> section in your tests,
+substitute C<MyApp_Chapter9_FormFu.tgz> for C<MyApp_Chapter8.tgz> in the URL
+above.
 
     wget http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/Tutorial/MyApp_Chapter9_FormFu.tgz
     tar zxvf MyApp_Chapter8.tgz
     cd MyApp
-    CATALYST_DEBUG=0 prove --lib lib t
+    CATALYST_DEBUG=0 prove -wl t
 
 You can also fire up the application under the development server that is conveniently
 built in to Catalyst.  Just issue this command from the C<MyApp> directory where you

Modified: Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod
===================================================================
--- Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod	2010-02-07 12:38:18 UTC (rev 12828)
+++ Catalyst-Manual/5.80/trunk/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod	2010-02-07 12:39:32 UTC (rev 12829)
@@ -77,13 +77,13 @@
 
 First, change your C<lib/MyApp/Controller/Books.pm> to inherit from
 L<Catalyst::Controller::HTML::FormFu|Catalyst::Controller::HTML::FormFu>
-by changing the C<use parent> line from the default of:
+by changing the C<extends> line from the default of:
 
-    use parent 'Catalyst::Controller';
+    BEGIN {extends 'Catalyst::Controller'; }
 
 to use the FormFu base controller class:
 
-    use parent 'Catalyst::Controller::HTML::FormFu';
+    BEGIN {extends 'Catalyst::Controller::HTML::FormFu'; }
 
 
 =head2 Add Action to Display and Save the Form




More information about the Catalyst-commits mailing list