Skip to content

Commit 7b1f350

Browse files
committed
make the for-loop article live
1 parent 92d833b commit 7b1f350

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
=title The for loop in Perl
2-
=timestamp 2013-03-23T20:45:13
2+
=timestamp 2013-03-26T08:46:13
33
=indexes for, foreach, loop, infinite loop
44
=status show
5+
=books beginner_book
56
=author szabgab
67
=index 1
78
=archive 1
@@ -25,7 +26,7 @@ as a 3-part C-style for loop. It is called C-style though
2526
it is available in many languages.
2627

2728
I'll describe how this works although I prefer to write the <hl>foreach</hl>
28-
style loop as described in the section about <a href="http://szabgab.com/perl-arrays.html">perl arrays</a>.
29+
style loop as described in the section about <a href="/perl-arrays">perl arrays</a>.
2930

3031
The two keywords <hl>for</hl> and <hl>foreach</hl> can be used as synonyms.
3132
Perl will work out which meaning you had in mind.
@@ -129,7 +130,7 @@ while (1) {
129130
</code>
130131

131132
It is described in the part
132-
about the <a href="http://szabgab.com/perl-tutorial--while-loop.html">while loop in perl</a>.
133+
about the <a href="/while-loop">while loop in perl</a>.
133134

134135
<h2>perldoc</h2>
135136

perl-tutorial.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ to practice what you have learned.
104104
<b>Lists and Arrays</b>
105105
<ol>
106106
<li>Perl foreach loop</li>
107-
<li><a href="http://szabgab.com/for-loop-in-perl.html">The for loop in Perl</a></li>
107+
<li><a href="/for-loop-in-perl">The for loop in Perl</a></li>
108108
<li>Lists in Perl</li>
109109
<li>Using Modules</li>
110110
<li><a href="/perl-arrays">Arrays in Perl</a></li>

0 commit comments

Comments
 (0)