A simple test follows:
Hello, world!
Now iterate over a list:
one
two
three
four
five
Now iterate again:
one
two
three
four
five
Iterate over a list in a hash:
one
two
three
four
five
one
two
three
four
five
one
two
three
four
five
one
two
three
four
five
Now test the list and foreach keywords...
one
two
three
four
five
one
two
three
four
five
Iterate over a list literal
1
2
3
4
5
5
4
3
2
1
This is a scalar.
test1
test2
test3
new1
new2
new3