Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dist::zilla::role::texttemplate(3pm) [debian man page]

Dist::Zilla::Role::TextTemplate(3pm)			User Contributed Perl Documentation		      Dist::Zilla::Role::TextTemplate(3pm)

NAME
Dist::Zilla::Role::TextTemplate - something that renders a Text::Template template string VERSION
version 4.300020 DESCRIPTION
Plugins implementing TextTemplate may call their own "fill_in_string" method to render templates using Text::Template. ATTRIBUTES
delim This attribute (which can't easily be set!) is a two-element array reference returning the Text::Template delimiters to use. It defaults to "{{" and "}}". METHODS
fill_in_string my $rendered = $plugin->fill_in_string($template, \%stash, \%arg); This uses Text::Template to fill in the given template using the variables given in the %stash. The stash becomes the HASH argument to Text::Template, so scalars must be scalar references rather than plain scalars. %arg is dereferenced and passed in as extra arguments to Text::Template's "fill_in_string" routine. AUTHOR
Ricardo SIGNES <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-21 Dist::Zilla::Role::TextTemplate(3pm)

Check Out this Related Man Page

Dist::Zilla::MVP::Assembler::Zilla(3pm) 		User Contributed Perl Documentation		   Dist::Zilla::MVP::Assembler::Zilla(3pm)

NAME
Dist::Zilla::MVP::Assembler::Zilla - Dist::Zilla::MVP::Assembler for the Dist::Zilla object VERSION
version 4.300020 OVERVIEW
This is a subclass of Dist::Zilla::MVP::Assembler used when assembling the Dist::Zilla object. It has a "zilla_class" attribute, which is used to determine what class of Dist::Zilla object to create. (This isn't very useful now, but will be in the future when minting and building use different subclasses of Dist::Zilla.) Upon construction, the assembler will create a Dist::Zilla::MVP::RootSection as the initial section. METHODS
zilla This method is a shortcut for retrieving the "zilla" from the root section. If called before that section has been finalized, it will result in an exception. register_stash $assembler->register_stash($name => $stash_object); This adds a stash to the assembler's zilla's stash registry -- unless the name is already taken, in which case an exception is raised. AUTHOR
Ricardo SIGNES <rjbs@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-21 Dist::Zilla::MVP::Assembler::Zilla(3pm)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pros and cons for Text User Interface and Curses::UI

Anyone has experience or study with Text User Interface and Curses::UI using Perl? - What is the criteria to decide which method is better for a console based UI? - Which DTL (dialog tag language) is supported by these? The background is that I want to write a wrapper over some UNIX tools... (0 Replies)
Discussion started by: vikrantl
0 Replies

2. Programming

Calling template at once

Hello Again, I am just wanted to know if we can call the Template using "require_once" at PHP? Any views around happy to discuss. Thanks in Advance (2 Replies)
Discussion started by: AimyThomas
2 Replies

3. Programming

Monster : Advanced C++ Template MetaProgramming Framework

GitHub - deepgrace/monster: Advanced Template MetaProgramming in Modern C++ If you like Boost.Hana, you'll like Monster, maybe. (0 Replies)
Discussion started by: complex.invoke
0 Replies