|P is for Practical|
Re^4: Adding a class to a module - Can Module::Starter or Dist::Zilla help?by mascip (Pilgrim)
|on Aug 13, 2012 at 17:35 UTC||Need Help??|
Thank you for feedback. I've tried without the PBP plugin and templates, and it did the same anyway.
I just peeked in the Module::Starter::Smart source code, to find the same thing as you, the error message comes from create_basedir().
The documentation says:
So, it means that the create_distro() function doesn't do its job : it should not call create_basedir(), when the C:/My-Example already exists.
* Tweaking-searching in the modules... *
Ah !!! Here you go, i found the problem ! By adding print() statements both in Module/Starter/Simple.pm and Module/Starter/Smart.pm, i realized that when i use module-starter, it's Module::Starter::Simple who runs, not Module::Starter::Smart
If anybody knew why, it'd be good to hear. Otherwise, i'll have to try and understand how Module::Starter::Simple checks for plugin in the configuration file, and then uses them. I'll see if-when i have the time.
At least, part of the mystery is solved.
Edit-bis : my last Edit was wrong.