The last piece of the puzzle needed to start writing some useful programs are the condition and looping mechanisms. In Perl they are if, unless, for, while, until and foreach.