Data::Sah::Compiler::TextResultRole - Role for compilers that produce text result (array of lines)
version 0.17
Append result to $cd->{result}. Will use $cd->{indent_level} to indent the line. Used by compiler; users normally do not need this.
$cd->{result}
$cd->{indent_level}
Increase indent level. This is done by increasing $cd->{indent_level} by 1.
Decrease indent level. This is done by decreasing $cd->{indent_level} by 1.
Shortcut for $c->indent_character x $cd->{indent_level}.
$c->indent_character x $cd->{indent_level}
Indent each line in $str with indent_str and return the result.
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2013 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::Sah, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Sah
CPAN shell
perl -MCPAN -e shell install Data::Sah
For more information on module installation, please visit the detailed CPAN module installation guide.