SHARYANTO::Role::Doc::Section::AddTextLines - Provide add_doc_lines() to add text with optional text wrapping
version 0.71
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
Please visit the project's homepage at https://metacpan.org/release/SHARYANTO-Roles.
Source repository is at https://github.com/sharyanto/perl-SHARYANTO-Roles.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=SHARYANTO-Roles
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2014 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 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.