in reply to use statement seemingly ignored

A little off-topic, but you said you are running Perl 5.24.1 as part of a webserver setup. This Perl version is end-of-life since 2018 according to

There have been quite a lot of security flaws found and fixed since then, see

I strongly recommend that you look into upgrading your setup!

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP