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::PluginBundle::Classic(3pm) User Contributed Perl Documentation Dist::Zilla::PluginBundle::Classic(3pm)NAME
Dist::Zilla::PluginBundle::Classic - the classic (old) default configuration for Dist::Zilla
VERSION
version 4.300020
DESCRIPTION
This bundle is more or less the original configuration bundled with Dist::Zilla. More than likely, you'd rather be using @Basic or a more
complex bundle. This one will muck around with your code by adding $VERSION declarations and will mess with you Pod by adding a "=head1
VERSION" section, but it won't get you a lot of more useful features like autoversioning, autoprereqs, or Pod::Weaver.
It includes the following plugins with their default configuration:
o Dist::Zilla::Plugin::GatherDir
o Dist::Zilla::Plugin::PruneCruft
o Dist::Zilla::Plugin::ManifestSkip
o Dist::Zilla::Plugin::MetaYAML
o Dist::Zilla::Plugin::License
o Dist::Zilla::Plugin::Readme
o Dist::Zilla::Plugin::PkgVersion
o Dist::Zilla::Plugin::PodVersion
o Dist::Zilla::Plugin::PodCoverageTests
o Dist::Zilla::Plugin::PodSyntaxTests
o Dist::Zilla::Plugin::ExtraTests
o Dist::Zilla::Plugin::ExecDir
o Dist::Zilla::Plugin::ShareDir
o Dist::Zilla::Plugin::MakeMaker
o Dist::Zilla::Plugin::Manifest
o Dist::Zilla::Plugin::ConfirmRelease
o Dist::Zilla::Plugin::UploadToCPAN
SEE ALSO
@Basic
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::PluginBundle::Classic(3pm)
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)
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)