Module::Starter::Plugin::InlineStore(3pm)

Module::Starter::Plugin::InlineStore3pm

Usage

 use Module::Starter qw(
   Module::Starter::Simple
   Module::Starter::Plugin::Template
   Module::Starter::Plugin::InlineStore
   ...
 );
 Module::Starter->create_distro( ... );

Version

version 0.144

Overview

This Module::Starter plugin is intended to be loaded after Module::Starter::Plugin::Template. It implements the "templates" method, required by the Template plugin. The "InlineStore" plugin stores all the required templates in a single file, delimited with filenames between triple-underscores. In other words, a very simple template file might look like this:

 ___Module.pm___
 package {modulename};
 1;
 ___Makefile.PL___
 die "lousy template"

Originally, this module was to use Inline::Files, or at least standard double-underscore indication of file names, but it's just simpler this way. Patches welcome.

Methods

"templates"

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

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

Author

Ricardo SIGNES, "<[email protected]>"

Bugs

Please report any bugs or feature requests to "[email protected]", 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.

From libmodule-starter-plugin-simplestore-perl 0.144-1.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.