in reply to Finding when a feature or keyword was introduced

perlver The Perl Minimum Version Analyzer

Perl::MinimumVersion Find a minimum required version of perl for Perl code

  • Comment on Re: Finding when a feature or keyword was introduced (perlver)

Replies are listed 'Best First'.
Re^2: Finding when a feature or keyword was introduced (perlver)
by Bod (Parson) on Sep 27, 2023 at 14:09 UTC
    Perl::MinimumVersion Find a minimum required version of perl for Perl code

    WoW!!!
    Good find - thanks for sharing...

    Frok the documentation - Future plans are to also add support for tracing module dependencies

    It will be an essential tool as and when that comes to pass. I always struggle to know which version of modules to declare as necessary.

      I don't think that means what you think it does. I read it as meaning that it will be extended to report the minimum perl version required by the modules on which the originally examined code depends. ie. it will do the same checks but descend recursively into the dependency tree.


      🦛

        I don't think that means what you think it does

        Ah yes!
        Perhaps I was being too optimistic...

        Still, it's all speculation as it hasn't happened yet.