Coincidentally there was a p5p thread just this morning about an additional option to do just this (strict + warnings for oneliners; the original suggestion was a unicode -ǝ or -Ǝ).
https://www.nntp.perl.org/group/perl.perl5.porters/2019/07/msg255600.html
The cake is a lie.
The cake is a lie.
The cake is a lie.
In Section
Meditations