xsawyerx / module-starter

Module::Starter, a tool to help create solid Perl modules from scratch
Other
41 stars 30 forks source link

create_distro does not return the files created #84

Open XSven opened 9 months ago

XSven commented 9 months ago

I do not understand the comment

# XXX: no need to return the files created

in Module::Starter::Simple::create_distro().

I want to write a Module::Starter::Plugin and obviously I want to test the files created if the plugin is active. The most straight forward way is to ask the engine plugin Module::Starter::Simple to provide theses files. Module::Starter::Simple::create_distro() has a lexically scoped variable @files, but its use is unclear because it is not returned by that method?!