Pod::Weaver::Plugin::Run - Write Pod::Weaver::Plugin directly in weaver.ini
This document describes version 0.001 of Pod::Weaver::Plugin::Run (from Perl distribution Pod-Weaver-Plugin-Run), released on 2016-10-14.
In your weaver.ini:
[-Run] ;;; each of these options can be specified multiple times ;include_module = Foo ;include_module_pattern = ^Bar.+$ ;exclude_module = Baz ;exclude_module_pattern = ^Qux ;include_file = lib/Quux.pm ;include_file_pattern = Corge\d+ ;exclude_file = lib/Grault.pm ;exclude_file_pattern = Garply\d+ code = sub { my ($self, $document, $input) = @_; ... } ;code = ...
This plugin will compile the code specified in weaver.ini and execute it. It effectively lets you write weave_section() directly in weaver.ini.
weave_section()
Please visit the project's homepage at https://metacpan.org/release/Pod-Weaver-Plugin-Run.
Source repository is at https://github.com/perlancar/perl-Pod-Weaver-Plugin-Run.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Pod-Weaver-Plugin-Run
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Pod::Weaver::Plugin::Eval, an older incarnation of this module.
Dist::Zilla::Plugin::Hook lets you do something similar for Dist::Zilla: it lets you write dzil plugins directly in dist.ini.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Pod::Weaver::Plugin::Run, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Weaver::Plugin::Run
CPAN shell
perl -MCPAN -e shell install Pod::Weaver::Plugin::Run
For more information on module installation, please visit the detailed CPAN module installation guide.