logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Module::Starter::Plugin::ModuleStore -- store inline templates in modules

Author

       Ricardo SIGNES, "<rjbs@cpan.org>"

Bugs

       Please report any bugs or feature requests to "bug-module-starter-plugin-inlinestore@rt.cpan.org", or
       through the web interface at <http://rt.cpan.org>.  I will be notified, and then you'll automatically be
       notified of progress on your bug as I make changes.

Description

       This Module::Starter plugin is intended to be loaded after Module::Starter::Plugin::Template.  It
       implements the "templates" method, required by the Template plugin.  It works like InlineStore, but
       instead of loading a physical file, loads the DATA section of a Perl module.

Methods

"templates"
       This method reads in the template module (described above) and populates the object's "templates"
       attribute.  The module template module is found by checking the MODULE_TEMPLATE_MODULE environment
       variable and then the "template_module" config option.

Name

       Module::Starter::Plugin::ModuleStore -- store inline templates in modules

Synopsis

        use Module::Starter qw(
          Module::Starter::Simple
          Module::Starter::Plugin::Template
          Module::Starter::Plugin::ModuleStore
          ...
        );

        Module::Starter->create_distro( ... );

Version

       version 0.144

See Also