# New Ticket Created by  Colin Kuskie 
# Please include the string:  [perl #44557]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=44557 >


The loop tutorial didn't have any POD, so I added POD talking about how PIR 
doesn't have looping constructs, aside from using goto in a loop.               
    
Index: examples/tutorial/53_loop.pir
===================================================================
--- examples/tutorial/53_loop.pir       (revision 20601)
+++ examples/tutorial/53_loop.pir       (working copy)
@@ -1,3 +1,12 @@
+=head1 Loops
+
+PIR has no built-in looping structures such as C<for>, C<while>, C<repeat> or 
C<until>.  All
+loops are built by using conditionals and C<goto>.
+
+The loop below calculates 5 factorial, stored in C<$I0>.  C<$I1> is the loop 
counter.
+
+=cut
+
 .sub main :main
 
     $I0 = 1               # product

Reply via email to