Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

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

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


NAME

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


DESCRIPTION

The Template::Alloy::Stream role works similar to the PLAY role, but instead of accumulating the data, it prints it as soon as it is available.

All directives are supported except for the CLEAR directive which is meaningless.

Most configuration items are supported - except for the TRIM directive which cannot be used because the output is not buffered into a variable that can be trimmed.

The WRAPPER directive is still supported - but it essentially turns off STREAM as the content must be generated before playing the WRAPPER templates.


ROLE METHODS

stream_tree
Similar to play_tree from the Play role, but prints output to the screen as soon as it is ready.


AUTHOR

Paul Seamons <paul at seamons dot com>


LICENSE

This module may be distributed under the same terms as Perl itself.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy