in reply to pattern matching through a whole document

$query->h1({-align=>center},'CAD Assignment 1B'),
Homework!

By the way, you should read the chapter on arrays.

@months = qw(January February March ...);