summaryrefslogtreecommitdiffhomepage
path: root/perl.html.markdown
diff options
context:
space:
mode:
authorAlan Berndt <alan@eatabrick.org>2015-10-10 11:44:50 -0700
committerAlan Berndt <alan@eatabrick.org>2015-10-10 11:44:50 -0700
commita8dce45150fb6938188d7ec895ade58ff264d670 (patch)
treef515d38bbe1e5b8ec5118130c9c36a79e76a7160 /perl.html.markdown
parentd6a1385e6693a33cb91caee567a9a7e23cc8827a (diff)
Add example of post-condition for loop.
Diffstat (limited to 'perl.html.markdown')
-rw-r--r--perl.html.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl.html.markdown b/perl.html.markdown
index 4e172406..1b86f410 100644
--- a/perl.html.markdown
+++ b/perl.html.markdown
@@ -102,6 +102,8 @@ for (@elements) {
print;
}
+# the Perlish post-condition way again
+print for @elements;
#### Regular expressions