textproc/p5-Text-ANSITable 0.610 DragonFly
Create nice formatted tables using extended ASCII and ANSI colors
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- perl5, textproc
- Package size
- 108.6 KiB, 336.9 KiB installed
Description
Text::ANSITable is yet another text table formatter module like Text::ASCIITable or Text::SimpleTable, with the following differences:
- Colors and color themes: ANSI color codes will be used by default (even 256 and 24bit colors), but will degrade to lower color depth and black/white according to terminal support.
- Box-drawing characters: Box-drawing characters will be used by default, but will degrade to using normal ASCII characters if terminal does not support them.
- Unicode and wide character support: Border styles using Unicode characters (double lines, bold/heavy lines, brick style, etc). Columns containing wide characters stay aligned. (Note: support for wide characters requires Text::ANSI::WideUtil which is currently set as an optional prereq, so you'll need to install it explicitly or set your CPAN client to install 'recommends' prereq).
Compared to Text::ASCIITable, it uses lower_case method/attr names instead of CamelCase, and it uses arrayref for columns and add_row. When specifying border styles, the order of characters are slightly different. More fine-grained options to customize appearance.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | textproc/p5-Text-ANSITable | 0.610 |
| FreeBSD | textproc/p5-Text-ANSITable | 0.610 |
| HardenedBSD | textproc/p5-Text-ANSITable | 0.610 |
| GhostBSD | textproc/p5-Text-ANSITable | 0.610 |
Install
Binary package:
pkg install p5-Text-ANSITable
From DPorts:
cd /usr/dports/textproc/p5-Text-ANSITable && make install clean
Dependencies
Run dependencies 18
- converters/p5-JSON-MaybeXS
- devel/p5-BorderStyles-Standard
- devel/p5-Color-RGB-Util
- devel/p5-ColorThemeBase-Static
- devel/p5-ColorThemeUtil-ANSI
- devel/p5-ColorThemes-Standard
- devel/p5-Function-Fallback-CoreOrPP
- devel/p5-Log-ger
- devel/p5-Module-List
- devel/p5-Module-Load-Util
- devel/p5-Moo
- devel/p5-Package-MoreUtil
- devel/p5-Parse-VarName
- devel/p5-Term-App-Roles
- devel/p5-alias-module
- devel/p5-namespace-clean
- lang/perl5.36
- textproc/p5-Text-ANSI-Util