Item11267: be local-perl friendly

the rest is perltidy. somebody doesn't have all git hooks in place?