#!/usr/local/bin/perl # this is an example of using the foreach loop with an array @array=('one','two','three','four','five'); foreach $value (@array){ print "one array value is $value\n"; }