1Dist::Zilla::Role::TextUTseemrplCaotnet(r3i)buted Perl DDoicsutm:e:nZtialtliao:n:Role::TextTemplate(3)
2
3
4

NAME

6       Dist::Zilla::Role::TextTemplate - something that renders a
7       Text::Template template string
8

VERSION

10       version 6.012
11

DESCRIPTION

13       Plugins implementing TextTemplate may call their own "fill_in_string"
14       method to render templates using Text::Template.
15

ATTRIBUTES

17   delim
18       This attribute (which can't easily be set!) is a two-element array
19       reference returning the Text::Template delimiters to use.  It defaults
20       to "{{" and "}}".
21

METHODS

23   fill_in_string
24         my $rendered = $plugin->fill_in_string($template, \%stash, \%arg);
25
26       This uses Text::Template to fill in the given template using the
27       variables given in the %stash.  The stash becomes the HASH argument to
28       Text::Template, so scalars must be scalar references rather than plain
29       scalars.
30
31       %arg is dereferenced and passed in as extra arguments to
32       Text::Template's "new" routine.
33

AUTHOR

35       Ricardo SIGNES 😏 <rjbs@cpan.org>
36
38       This software is copyright (c) 2018 by Ricardo SIGNES.
39
40       This is free software; you can redistribute it and/or modify it under
41       the same terms as the Perl 5 programming language system itself.
42
43
44
45perl v5.28.0                      2018-04-21Dist::Zilla::Role::TextTemplate(3)
Impressum