Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Everything you wanted to know about Module Version Numbers and Checking

by John M. Dlugosz (Monsignor)
on Aug 06, 2001 at 04:22 UTC ( #102368=perltutorial: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # use VersionTest qw/1.2.3 foo bar/;
    # the above is no longer Kosher
    
    use VersionTest v1.2.3 qw/foo bar/;
    # do it this way (no comma).
    
  2. or download this
    use VersionTest '1.2.3' qw/foo bar/; #string
    
    my $needed= v2.3.4;
    use VersionTest $needed qw/foo bar/; #not a literal
    
  3. or download this
    use VersionTest qw/1.2.3 foo bar/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2023-12-09 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (38 votes). Check out past polls.

    Notices?