Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: how to improve: use MODULE VERSION LIST

by kcott (Archbishop)
on Jan 08, 2017 at 05:45 UTC ( [id://1179156]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ alias perle
    alias perle='perl -Mstrict -Mwarnings -Mautodie=:all -E'
    $ perl -v | head -2 | tail -1
    This is perl 5, version 24, subversion 0 (v5.24.0) built for darwin-th
    +read-multi-2level
    
  2. or download this
    package xyz;
    
    ...
    }
    
    1;
    
  3. or download this
    $ perle 'BEGIN { @INC = qw{old new .} } use xyz 1.0; say $xyz::VERSION
    +'
    import called with args: xyz
    ...
    $ perle 'BEGIN { @INC = qw{old new .} } use xyz qw{a b c}; say $xyz::V
    +ERSION'
    import called with args: xyz a b c
    1.0
    
  4. or download this
    package xyz;
    
    ...
    }
    
    1;
    
  5. or download this
    $ perle 'BEGIN { @INC = qw{old new .} } use xyz 2.0; say $xyz::VERSION
    +'
    xyz version 2 required--this is only version 1.0 at -e line 1.
    BEGIN failed--compilation aborted at -e line 1.
    
  6. or download this
    package Bleed::xyz;
    
    ...
    }
    
    1;
    
  7. or download this
    $ perle 'BEGIN { @INC = qw{old new .} } use Bleed::xyz 2.0; say $xyz::
    +VERSION'
    import called with args: xyz
    ...
    $ perle 'BEGIN { @INC = qw{old new .} } use Bleed::xyz qw{a b c}; say 
    +$xyz::VERSION'
    import called with args: xyz a b c
    2.0
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 02:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found