mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Add example of post-condition for loop.
This commit is contained in:
parent
d6a1385e66
commit
a8dce45150
@ -102,6 +102,8 @@ for (@elements) {
|
|||||||
print;
|
print;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# the Perlish post-condition way again
|
||||||
|
print for @elements;
|
||||||
|
|
||||||
#### Regular expressions
|
#### Regular expressions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user