|The stupid question is the question not asked|
Re^10: Modernizing the Postmodern Language?by LanX (Cardinal)
|on Jul 04, 2020 at 11:30 UTC||Need Help??|
This was about upgrading code which runs equally well on P5 and P7.
So manually adding a simple use 5... would solve this.
use compat::Perl5 is IMHO thought to be an automated flag introduced by P7 at compile time when downloading modules from CPAN without P7 meta tag.
I don't think using it explicitly is a good idea, this would only add to more confusion.
use 5... is far easier to understand and works out of the box on all older P5 installations.
It would be nice to see a formal RFC and a test suite covering all disputed edge cases.