(1) Move from addModuleSet to addModule (singular). (2) Use shared_ptr as the module type, rather than a template argument -- once the collection type is not a template argument, it makes sense to pin ...
This is the README for the Module::Starter::AddModule Perl module. You're probably looking at this because you don't know where else to find what you're looking for. Read this once and you might never ...