gideondsouza has asked for the wisdom of the Perl Monks concerning the following question:
Forgive me dear monks, I made quite a blunder last night.
I uploaded a module, (with an underscore for the purpose of CPAN testers testing it). It's a API wrapper for stack exchange. There is already an old module wrapping an old version of the api.
Unfortunately I didn't strike me that I put mine with the same name and only changed the internal modules with a V2 (like Net::GitHub). Both mine and the older module are named Net::StackExchange
I'm really sorry about this, it's a pretty daft mistake and I want to rectify it quickly and correctly.
I found Module::Rename, will it allow me to rename my module safely and thoroughly? My module is named Net-StackExchange and the directory structure looks like this:
. ├── Changes ├── MANIFEST ├── Makefile.PL ├── README ├── ignore.txt ├── lib │ └── Net │ ├── StackExchange │ │ ├── V2 │ │ │ └── Answers.pm │ │ │ └── Questions.pm │ │ │ └── Comments.pm │ │ │ └── .... │ │ │ └── .... │ │ └── V2.pm │ └── StackExchange.pm └── t ├── 00-load.t ├── boilerplate.t ├── manifest.t ├── pod-coverage.t └── pod.t
Questions:
- Will module rename suffice, where else do I need to change files in Makefile.PL?
- I was thinking of just renaming to Net::StackExchange2 Not sure how nice this is?