NAME Dist::Zilla::Plugin::InsertCodeResult - Insert the result of Perl code into your POD VERSION This document describes version 0.051 of Dist::Zilla::Plugin::InsertCodeResult (from Perl distribution Dist-Zilla-Plugin-InsertCodeResult), released on 2019-02-04. SYNOPSIS In dist.ini: [InsertCodeResult] ;make_verbatim=1 In your POD: # CODE: require MyLib; MyLib::gen_stuff("some", "param"); DESCRIPTION This module finds "# CODE: ..." directives in your POD, evals the specified Perl code, and insert the result into your POD as a verbatim paragraph (unless you set "make_verbatim" to 0, in which case output will be inserted as-is). If result is a simple scalar, it is printed as is. If it is undef or a reference, it will be dumped using Data::Dump. If eval fails, build will be aborted. HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website 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. SEE ALSO Dist::Zilla::Plugin::InsertExample AUTHOR perlancar COPYRIGHT AND LICENSE This software is copyright (c) 2019, 2018, 2015, 2014 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.