strictures turns on indirect checking only when it thinks it's running in a compilation (or pod coverage) test - though if this causes undesired behaviour this can be overriden by setting the PERL_STRICTURES_EXTRA environment variable. WWW: https://metacpan.org/release/strictures