Leon Timmermans > Dist-Zilla-Plugin-Substitute-0.002 > Dist::Zilla::Plugin::Substitute

Download:
Dist-Zilla-Plugin-Substitute-0.002.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.002   Source   Latest Release: Dist-Zilla-Plugin-Substitute-0.004

NAME ^

Dist::Zilla::Plugin::Substitute - Substitutions for files in dzil

VERSION ^

version 0.002

SYNOPSIS ^

 [Substitute]
 finder = :ExecFiles
 code = s/Foo/Bar/g

DESCRIPTION ^

This module performs substitutions on files in Dist::Zilla.

ATTRIBUTES ^

code

An array-ref of lines of code. This is converted into a sub that's called for each line, with $_ containing that line. Alternatively, it may be a sub-ref if passed from for example a pluginbundle. Mandatory.

finders

The finders to use for the substitutions. Defaults to :InstallModules, :ExecFiles.

AUTHOR ^

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Leon Timmermans.

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

syntax highlighting: