Declare use 5.040 in every module, script and test
The house standard for a perl that we control is 5.040 or later, with
the strict critic profile that assumes it. The modules and scripts
said use v5.36. Twenty-three tests said use strict and no version, so
they ran without the features that the code they test is written in.
use 5.040 turns on strict, so it replaces use strict in those tests.
The 5.040 bundle adds module_true, turns off bareword filehandles, and
imports nothing that clashes with an import here. Every file still
compiles, and the suite passes as it did.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>