Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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, WhitePages.com


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2014-08-28 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (261 votes), past polls