Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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
Node Status?
node history
Node Type: perltutorial [id://102368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (15)
As of 2014-10-22 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls