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;
|
||||
}
|
||||
|
||||
# the Perlish post-condition way again
|
||||
print for @elements;
|
||||
|
||||
#### Regular expressions
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user