good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Renaming CPAN modulesby Bro. Doug (Monk) |
on Oct 28, 2006 at 15:45 UTC ( [id://581092]=note: print w/replies, xml ) | Need Help?? |
The biggest problem with renaming your modules is, of course, the many references made to your module throughout your code. It's usually a fairly morbid experience to grep through thousands of lines of code and make sure all names are correctly changed. Global search and replace makes this easier, but the problem can be pre-empted in initial development.
Now you can easily change the package names just by changing the definition of $pkg. I hope that helps.
Bro. Doug :wq
In Section
Seekers of Perl Wisdom
|
|