in reply to Re^2: poll ideas quest 2023 [Reasonable 'use VERSION' for new CPAN modules]
in thread poll ideas quest 2023
I like the idea of a "whatever minimum version the code itself requires" , but perlver doesn't seem to be the right tool. Sadly, it fails on features. Consider:
#!/usr/bin/perl $_ = []; my @a = $_->@*; say "@a";
----------------------------------------- | file | explicit | syntax | external | | ----------------------------------------- | | perlver.pl | ~ | ~ | n/a | | ----------------------------------------- | | Minimum explicit version : ~ | | Minimum syntax version : ~ | | Minimum version of perl : v5.4.0 (default) | -----------------------------------------
say requires v5.10 and 'postderef' requires v5.20. For say, even on more recent versions use feature 'say' is required unless use v5.10 is in effect, while 'postderef' is silently available from v5.24 on.
Greetings,
-jo
In Section
Quests