Fix problems reported by perl critic's gentle and stern levels.