Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2015-10-09 22:24 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (253 votes), past polls