in reply to Modern Subroutine Signature Requires Perl Version

Dave's example didn't specify the version like this in his code

Not so. The code in the linked page used use v5.40;

(Upd: I'm a parrot)