Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Changing a module's namespace on CPANby kirbyk (Friar) |
on Jun 21, 2005 at 23:33 UTC ( [id://468857]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|