A simple test follows:

Hello, world!

Now iterate over a list:

one

two

three

four

five

Now iterate again:

0. one

1. two

2. three

3. four

4. 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