Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 musing on the Monastery: (9)
As of 2014-08-21 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (144 votes), past polls