in reply to Re^6: diagnostics: warning, deprecation, error
in thread diagnostics: warning, deprecation, error

This is not the case. On an unmodified perl running perl -MDerp::Derp outputs:

perl -MDerp::Derp Can't locate Derp/Derp.pm in @INC (you may need to install the Derp::D +erp module) (@INC entries checked: /usr/lib/perl5/5.42/site_perl /usr +/share/perl5/site_perl /usr/lib/perl5/5.42/vendor_perl /usr/share/per +l5/vendor_perl /usr/lib/perl5/5.42/core_perl /usr/share/perl5/core_pe +rl). BEGIN failed--compilation aborted.

Calling the same way from the patched perl produces the output shown here. From within a script we get the expected result:

cat test.pl use Derp::Derp; ~/localperl/bin ./perl test.pl Can't locate Derp/Derp.pm in @INC See: perldoc -v @INC You may need to install the Derp::Derp module: https://metacpan.org/search?q=Derp::Derp @INC entries checked: /home/marto/localperl/lib/site_perl/5.42.0/x86_64-linux /home/marto/localperl/lib/site_perl/5.42.0 /home/marto/localperl/lib/5.42.0/x86_64-linux /home/marto/localperl/lib/5.42.0 at test.pl line 1. BEGIN failed--compilation aborted at test.pl line 1. ~/localperl/bin