<p>In perl one would simply do the following to store and iterate over a list of names</p>

<pre><code>my @fruit = (apple, orange, kiwi);
foreach (@fruit) {
        print $_;
}
</code></pre>

<p>What would the equivalent be in bash?</p>

```
for i in apple orange kiwi
do
  echo $i
done
```