1Template::Alloy::StreamU(s3e)r Contributed Perl DocumentaTteimopnlate::Alloy::Stream(3)
2
3
4

NAME

6       Template::Alloy::Stream - Stream role - allows for playing out the AST
7       and printing straight to file handle
8

DESCRIPTION

10       The Template::Alloy::Stream role works similar to the PLAY role, but
11       instead of accumulating the data, it prints it as soon as it is
12       available.
13
14       All directives are supported except for the CLEAR directive which is
15       meaningless.
16
17       Most configuration items are supported - except for the TRIM directive
18       which cannot be used because the output is not buffered into a variable
19       that can be trimmed.
20
21       The WRAPPER directive is still supported - but it essentially turns off
22       STREAM as the content must be generated before playing the WRAPPER
23       templates.
24

ROLE METHODS

26       "stream_tree"
27           Similar to play_tree from the Play role, but prints output to the
28           screen as soon as it is ready.
29

AUTHOR

31       Paul Seamons <paul@seamons.com>
32

LICENSE

34       This module may be distributed under the same terms as Perl itself.
35
36
37
38perl v5.30.1                      2020-01-30        Template::Alloy::Stream(3)
Impressum