Modules

Chapter 21 exercise from the book 'Intermediate Perl'
Cycle through a list of values via a scalar.