Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How do you do multi-version modules?

by Corion (Pope)
on Oct 13, 2012 at 23:11 UTC ( #998884=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package My::Module;
    use strict;
    ...
        ...
        # Dynamically load either My::Module::API1 or My::Module::API2
    };
    
  2. or download this
    package My::Module::API1;
    # The old API
    
  3. or download this
    package My::Module::API2;
    # The new API
    
  4. or download this
    use My::Module api => 'API1';
    ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998884]
help
Chatterbox?
[zentara]: do you feel good about a non-open-source code, being in control of your display functions?
[choroba]: If you're not going to play 3d games on it, using the open source driver should be enough
[zentara]: choroba that is true, and the wise choice, but I want to see how fast I can get fglrx3dspheres to run... just as an intellectual challenge :-)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2017-05-26 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?