Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Code style question -- code review

by AlexP (Pilgrim)
on May 21, 2021 at 07:46 UTC ( [id://11132837]=note: print w/replies, xml ) Need Help??


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?

Replies are listed 'Best First'.
Re^3: Code style question -- code review
by hippo (Bishop) 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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132837]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-29 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found