in reply to Re: Code style question -- code review
in thread Code style question

Thank you very much for your time and detailed comment.

According to your information, I can make a small manual.

About versioning, is there a way to tell perl use version >= 1.x or what can be done?

  • Comment on Re^2: Code style question -- code review

Replies are listed 'Best First'.
Re^3: Code style question -- code review
by hippo (Archbishop) on May 21, 2021 at 08:57 UTC

    For using modules, the version specified is, by default, the minumum version. The same is true of perl itself, so:

    use 5.010; use Text::Diff 1.40;

    means that the script must be run using perl 5.10 or newer and must be able to load Text::Diff version 1.40 or newer.

    See the docs for use for more detail.


    🦛

      Many thanks!