SHARYANTO::Role::Doc::Section::AddTextLines - Provide add_doc_lines() to add text with optional text wrapping
version 0.62
This role provides add_doc_lines() which can add optionally wrapped text to doc_lines.
add_doc_lines()
doc_lines
The default column width for wrapping is from COLUMNS environment variable, or 80.
COLUMNS
Whether to do text wrapping.
These methods are provided by, e.g. SHARYANTO::Role::Doc::Section.
Add lines of text, optionally wrapping each line if wrapping is enabled.
Available options:
wrap => BOOL
Whether to enable wrapping. Default is from the doc_wrap attribute.
doc_wrap
Used to set column width.
SHARYANTO::Role::Doc::Section
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.
None are exported by default, but they are exportable.
To install SHARYANTO::Roles, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SHARYANTO::Roles
CPAN shell
perl -MCPAN -e shell install SHARYANTO::Roles
For more information on module installation, please visit the detailed CPAN module installation guide.