summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-10-10 21:38:54 +0200
committerven <vendethiel@hotmail.fr>2015-10-10 21:38:54 +0200
commite1e5fba285c25e801200bd80dc59a0fc7a0c9fa7 (patch)
treea6822a86d0939327ceaf2d0bb479cd35edc29efb
parent5dc8c207679b6737e53b7d05448c57923dfef764 (diff)
parenta8dce45150fb6938188d7ec895ade58ff264d670 (diff)
Merge pull request #1451 from bentglasstube/master
Add example of post-condition for loop.
-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