NAME
Dist::Zilla::Plugin::AddFile::FromCode - Add file from code's output
VERSION
This document describes version 0.01 of Dist::Zilla::Plugin::AddFile::FromCode (from Perl distribution Dist-Zilla-Plugin-AddFile-FromCode), released on 2015-06-28.
SYNOPSIS
In dist.ini:
[AddFile::FromCode]
code=print "hello\n" for 1..10;
dest=share/somefile.txt
To add more files:
[AddFile::FromCode / 2]
code=print "world\n" for 1..20;
dest=share/anotherfile.txt
DESCRIPTION
This plugin adds a file from output of code specified in dist.ini.
SEE ALSO
Dist::Zilla::Plugin::AddFile::FromFS
Dist::Zilla::Plugin::AddFile::FromCommand
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Dist-Zilla-Plugin-AddFile-FromCode.
SOURCE
Source repository is at https://github.com/perlancar/perl-Dist-Zilla-Plugin-AddFile-FromCode.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-AddFile-FromCode
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.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 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.