Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: How do you do multi-version modules?

by Corion (Pope)
on Oct 14, 2012 at 07:52 UTC ( #998926=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How do you do multi-version modules?
in thread How do you do multi-version modules?

Maybe you want to reuse parts of ::API1 in ::API2, then? It's only you who claims that you have to duplicate code between the modules. Maybe having a preconfigured API "object" which contains the default parameters would be an option too, if the "API" only consists of default parameters.

This has nothing to do with putting many modules in one file. You've already been advised against that, but this discussion is far besides the point.


Comment on Re^3: How do you do multi-version modules?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (16)
As of 2015-07-28 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls