[Catalyst-commits] r8563 - in Catalyst-Manual/5.70/trunk: . lib/Catalyst/Manual/Tutorial

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Fri Oct 17 14:16:03 BST 2008


Author: bricas
Date: 2008-10-17 14:16:03 +0100 (Fri, 17 Oct 2008)
New Revision: 8563

Modified:
   Catalyst-Manual/5.70/trunk/Changes
   Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod
Log:
Remove a reference to a FOREACH loop that did not exist (RT #39046)

Modified: Catalyst-Manual/5.70/trunk/Changes
===================================================================
--- Catalyst-Manual/5.70/trunk/Changes	2008-10-17 12:58:22 UTC (rev 8562)
+++ Catalyst-Manual/5.70/trunk/Changes	2008-10-17 13:16:03 UTC (rev 8563)
@@ -1,6 +1,7 @@
 Revision history for Catalyst-Manual
 
 5.701X   XXXXX 
+        - Remove a reference to a FOREACH loop that did not exist (RT #39046)
         - Changed some Template Toolkit links to perldoc links (RT #38354)
         - Fix Template Toolkit website link (RT #37574)
         - Fix part numbering (RT #37963)

Modified: Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod
===================================================================
--- Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod	2008-10-17 12:58:22 UTC (rev 8562)
+++ Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod	2008-10-17 13:16:03 UTC (rev 8563)
@@ -453,10 +453,8 @@
 
 As indicated by the inline comments above, the C<META title> line uses
 TT's META feature to provide a title to C<root/lib/site/header>.
-Meanwhile, the outer C<FOREACH> loop iterates through each C<book> model
-object and prints the C<title> and C<rating> fields.  An inner
-C<FOREACH> loop prints the last name of each author in a comma-separated
-list within a single table cell.
+Meanwhile, the C<FOREACH> loop iterates through each C<book> model
+object and prints the C<title> and C<rating> fields.
 
 If you are new to TT, the C<[%> and C<%]> tags are used to delimit TT
 code.  TT supports a wide variety of directives for "calling" other
@@ -928,7 +926,7 @@
     <td>
       [% # First initialize a TT variable to hold a list.  Then use a TT FOREACH -%]
       [% # loop in 'side effect notation' to load just the last names of the     -%]
-      [% # authors into the list.  Note that the 'push' TT vmethod does not      -%]
+      [% # authors into the list. Note that the 'push' TT vmethod does not print -%]
       [% # a value, so nothing will be printed here.  But, if you have something -%]
       [% # in TT that does return a method and you don't want it printed, you    -%]
       [% # can: 1) assign it to a bogus value, or 2) use the CALL keyword to     -%]




More information about the Catalyst-commits mailing list