Module...eStore(3pm)
π Module::Starter::Plugin::InlineStore π
okay bestie, gather round, because this is a little Perl manual page β Module::Starter::Plugin::InlineStore, from the 3pm section of your friendly neighborhood perl docs β and it's literally just about inline module template files. tiny module, big vibes. β¨
πΈ VERSION πΈ
version 0.144 β yes queen, she's got a version number, she's official.
π¦ SYNOPSIS π¦
so here's how you actually summon her:
use Module::Starter qw(
Module::Starter::Simple
Module::Starter::Plugin::Template
Module::Starter::Plugin::InlineStore
...
);
Module::Starter->create_distro( ... );
that's it. that's the whole ritual. π«Ά
π DESCRIPTION π
okay so the tea is this: this Module::Starter plugin is intended to be loaded after Module::Starter::Plugin::Template. order matters, bestie, we don't make the rules. π
it implements the "templates" method, which is required by the Template plugin. and what does "InlineStore" do with that? she stores all the required templates in a single file, and the filenames are delimited with triple-underscores. so like, one file, many templates, all cozy together. no cap.
in other words, a very simple template file might look like this:
___Module.pm___
package {modulename};
1;
___Makefile.PL___
die "lousy template"
see how ___Module.pm___ and ___Makefile.PL___ are just vibing there as dividers? that's the whole system. iconic.
originally, this module was going to use Inline::Files, or at least the standard double-underscore indication of file names, but honestly? it's just simpler this way. Patches welcome. π
π METHODS π
"templates"
this method reads in the template file (the one described above, with the triple-underscore delimiters) and populates the object's "templates" attribute. main character behavior honestly.
the module template file is found by checking the MODULE_TEMPLATE_FILE environment variable and then the "template_file" config option. so env var first, config option second β that's the search order, don't get it twisted. β
π AUTHOR π
Ricardo SIGNES, "<rjbs@cpan.org>" β thank you for your service king π«‘π
π Bugs π
okay so if you find a bug or you want a feature, please report it to "bug-module-starter-plugin-inlinestore@rt.cpan.org", or through the web interface at http://rt.cpan.org.
and here's the cute part: he'll get notified, and then you'll automatically get notified of progress on your bug as he makes changes. it's giving mutual update energy. π₯
π COPYRIGHT π
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.
πΈ and that's the whole page, bestie! this one came to you courtesy of perlv5.32.0, dated2021-01-09β love that for us. now go forth and store your templates inline. slay. π β¨ππ¦
π¦ where this page comes from
- debian bookworm: libmodule-starter-plugin-simplestore-perl 0.144-1.1
- debian trixie: libmodule-starter-plugin-simplestore-perl 0.144-1.1
- ubuntu jammy: libmodule-starter-plugin-simplestore-perl 0.144-1.1
- ubuntu noble: libmodule-starter-plugin-simplestore-perl 0.144-1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms