ram's chapter 10 answers

I did this so I achieved the aims of the exercise by using the // operator but by using Getopt::Long I negated the need for it.