NAME

Acme::CPANModules::WrappingText - List of modules and utilities to wrap text

VERSION

This document describes version 0.001 of Acme::CPANModules::WrappingText (from Perl distribution Acme-CPANModules-WrappingText), released on 2022-11-24.

DESCRIPTION

See also: fold Unix command line.

ACME::CPANMODULES ENTRIES

App::TextWrapUtils

CLI front-end for various backends mentioned in this list.

Script: textwrap

Lingua::JA::Fold

Author: HATA

Specifically for folding Japanese (and other CJK) text.

Text::ANSI::Fold

Author: UTASHIRO

Text::ANSI::Util

Author: PERLANCAR

For wrapping text that contains ANSI escape/color codes.

Text::ANSI::WideUtil

Author: PERLANCAR

For wrapping text that contains ANSI escape/color codes and Unicode wide characters.

Text::WideChar::Util

Author: PERLANCAR

For wrapping text that contains Unicode wide characters.

Text::Fold

Author: DMUEY

Text::LineFold

Author: NEZUMI

Text::Wrap

Author: ARISTOTLE

Core module.

ACME::CPANMODULES FEATURE COMPARISON MATRIX

 +----------------------+--------------+-------------+-----------------+
 | module               | can_ansi *1) | can_cjk *2) | can_unicode *3) |
 +----------------------+--------------+-------------+-----------------+
 | App::TextWrapUtils   | N/A          | N/A         | N/A             |
 | Lingua::JA::Fold     | no           | yes         | no              |
 | Text::ANSI::Fold     | yes          | yes         | yes             |
 | Text::ANSI::Util     | yes          | no          | no              |
 | Text::ANSI::WideUtil | yes          | no          | yes             |
 | Text::WideChar::Util | no           | no          | yes             |
 | Text::Fold           | no           | no          | yes             |
 | Text::LineFold       | no           | no          | no              |
 | Text::Wrap           | no           | no          | no              |
 +----------------------+--------------+-------------+-----------------+

Notes:

1. can_ansi: Can wrap text that contains ANSI color/escape codes
2. can_cjk: Can wrap CJK wide characters
3. can_unicode: Can wrap Unicode text, including wide characters

FAQ

What is an Acme::CPANModules::* module?

An Acme::CPANModules::* module, like this module, contains just a list of module names that share a common characteristics. It is a way to categorize modules and document CPAN. See Acme::CPANModules for more details.

What are ways to use this Acme::CPANModules module?

Aside from reading this Acme::CPANModules module's POD documentation, you can install all the listed modules (entries) using cpanm-cpanmodules script (from App::cpanm::cpanmodules distribution):

 % cpanm-cpanmodules -n WrappingText

Alternatively you can use the cpanmodules CLI (from App::cpanmodules distribution):

    % cpanmodules ls-entries WrappingText | cpanm -n

or Acme::CM::Get:

    % perl -MAcme::CM::Get=WrappingText -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n

or directly:

    % perl -MAcme::CPANModules::WrappingText -E'say $_->{module} for @{ $Acme::CPANModules::WrappingText::LIST->{entries} }' | cpanm -n

This Acme::CPANModules module also helps lcpan produce a more meaningful result for lcpan related-mods command when it comes to finding related modules for the modules listed in this Acme::CPANModules module. See App::lcpan::Cmd::related_mods for more details on how "related modules" are found.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Acme-CPANModules-WrappingText.

SOURCE

Source repository is at https://github.com/perlancar/perl-Acme-CPANModules-WrappingText.

SEE ALSO

Acme::CPANModules - about the Acme::CPANModules namespace

cpanmodules - CLI tool to let you browse/view the lists

AUTHOR

perlancar <perlancar@cpan.org>

CONTRIBUTING

To contribute, you can send patches by email/via RT, or send pull requests on GitHub.

Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via:

 % prove -l

If you want to build the distribution (e.g. to try to install it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond that are considered a bug and can be reported to me.

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by perlancar <perlancar@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-WrappingText

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.