GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Module::Starter::Plugin::InlineStore(3) User Contributed Perl Documentation Module::Starter::Plugin::InlineStore(3)

Module::Starter::Plugin::InlineStore -- inline module template files

version 0.144

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

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

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.

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.

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

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.

Copyright 2004 Ricardo SIGNES, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2011-12-23 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.