use warnings NONFATAL => 'all';

A little wisdom I received from frew who got it from mst. An example from elsewhere:

https://metacpan.org/source/FREW/Harbinger-Client-0.001000/lib/Harbinger/Client.pm#L8

[15:35:56] <frew> yeah, mst pointed out that with a single line solution, anything other than changing the default is more work