976 years ago today, Malcom II died and Duncan became the King of Scots. His cousin Macbeth, wasn't made king.
Wikipedia makes it sound like Macbeth had the right to the throne, but doesn't seem to explain how that squares with Duncan ascending it.
Ok, found the cause of the garbage.
my $cleaned_of_whitespace = $trimmed.trans( / \s+ / => ' ' );
Ironically, that's a line that I've been touching earlier this month. Huh. I really thought that worked, and that we had passing tests for this.
So, I submitted a ticket, and hope to have some time tonight to investigate this.