Abs chapter 7

Yeah, I wouldn't ordinarily be writing Perl code like this. Mistakes can easily creep through on code that's difficult to understand.