Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Best Practices for creating an OO version of an existing CPAN module?

by tmharish (Friar)
on Feb 25, 2013 at 05:55 UTC ( #1020462=note: print w/ replies, xml ) Need Help??


in reply to Best Practices for creating an OO version of an existing CPAN module?

Should I contact the author of the existing module and try to get the OO interface integrated into the existing package?

IMHO Thats the best option. I would get in touch with the author and provide the integration.

If the author does not respond or/and the module has not been maintained in a while you can always ask to take over the maintenance of the module.

Also when providing the options for OO you might want to ensure backward compatibility.


Comment on Re: Best Practices for creating an OO version of an existing CPAN module?
Re^2: Best Practices for creating an OO version of an existing CPAN module?
by topher (Scribe) on Feb 25, 2013 at 21:31 UTC

    The module isn't very old old, and the author seems active, so I don't think there will be any issues with getting in touch with him. Trying to maintain maximum compatibility with the existing module will absolutely be a high priority if I OO-ify it. The more similar it is, the easier it will be to maintain and use.

    Just to clarify, you believe the best option is to integrate the OO interface into the same module as the procedural interface, and not to put it in a separate package? Any particular reason or advantage for this, or just personal preference?

    Note: I'm not disagreeing with you, just trying to clarify my understanding of the best way forward.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (17)
As of 2014-10-20 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (85 votes), past polls