I don’t think they perjured themselves which isn’t the same as saying they didn’t lie. It’s easy to not perjure yourself if you’re not asked the right questions.
The lie came from the fact they weren’t looking into their own evidence and realising something was up when they were prosecuting hundreds of sub-postmasters.