Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 scrutinizing the Monastery: (7)
As of 2014-09-20 05:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (153 votes), past polls