ram's chapter 10 answers

I know the Perl book asked us to do this, but in the real world we'd use some sort of off the shelf logging framework here.