Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 ( [id://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 sharing their wisdom with the Monastery: (5)
As of 2024-03-28 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found