Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Changing a module's namespace on CPAN

by kirbyk (Friar)
on Jun 21, 2005 at 23:33 UTC ( #468857=note: print w/replies, xml ) Need Help??

in reply to Changing a module's namespace on CPAN

Since this requires users of your code to change their code, I would avoid making it not obvious what has happened.

You could replace the old namespace functions with wrappers that call the new functions for backwards compatibility - but then, what have you ultimately gained? Two things to update instead of one.

With things like these, just do it, tell people that the old code is deprecated (especially in the perldoc and on CPAN) and leave it up to them if they ever want to upgrade and fix their code, and then ignore the old version.

-- Kirby,

  • Comment on Re: Changing a module's namespace on CPAN

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://468857]
and the monks are chillaxin'...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2017-09-23 06:14 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (271 votes). Check out past polls.