perl-Term-ANSIColor-Conditional - Colorize text only if color is enabled

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Term-ANSIColor-Conditional
Package version 0.001
Package release alt1
Package architecture noarch
Package type rpm
Installed size 22.92 KB
Download size 22.92 KB
Official Mirror
This module is a wrapper for the Term::ANSIColor manpage. If color is enabled then
everything is the same as Term::ANSIColor. If color is disabled, then `color()'
will emit empty string and `colored()' will not colorize input text.
How to determine "color is enabled":
=item * If package variable `$Term::ANSIColor::Conditional::COLOR' is defined, use that.
=item * Otherwise, check if `COLOR' environment variable is defined and use that.
=item * Otherwise, check if (-t STDOUT) is true (interactive terminal). If yes, color is enabled.
=item * Otherwise, color is disabled.
=for Pod::Coverage ^(.+)$


Package Version Architecture Repository
perl-Term-ANSIColor-Conditional - - -


Name Value
/usr/share/perl5 -
perl(Term/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(Term/ANSIColor/ = 0.001
perl-Term-ANSIColor-Conditional = 0.001-alt1


Type URL
Binary Package perl-Term-ANSIColor-Conditional-0.001-alt1.noarch.rpm
Source Package perl-Term-ANSIColor-Conditional-0.001-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Term-ANSIColor-Conditional rpm package:
    # sudo apt-get install perl-Term-ANSIColor-Conditional



See Also

Package Description
perl-Term-ANSIColor-Markup-0.06-alt1.noarch.rpm Colorize tagged strings for screen output
perl-Term-ANSIColor-Print-0.08-alt1.noarch.rpm perl module Term-ANSIColor-Print
perl-Term-ANSIColor-Simple-0.10-alt1.noarch.rpm just feel easy to use colors on your small scripts
perl-Term-ANSIColorx-ColorNicknames-2.7191-alt1.noarch.rpm perl module Term-ANSIColorx-ColorNicknames
perl-Term-ANSIColorx-ColorNicknames-scripts-2.7191-alt1.noarch.rpm Term-ANSIColorx-ColorNicknames scripts
perl-Term-ANSIMenu-0.02-alt2.noarch.rpm An infrastructure for creating menus in ANSI capable terminals
perl-Term-ANSIScreen-1.50-alt1_10.noarch.rpm Term::ANSIScreen - Terminal control using ANSI escape sequences
perl-Term-ANSITable-0.010100-alt1.noarch.rpm Tool for drawing and redrawing tables on term!
perl-Term-Activity-1.20-alt1.noarch.rpm Process Activity Display Module
perl-Term-App-Roles-0.01-alt1.noarch.rpm Collection of roles for terminal-based application
perl-Term-BashTab-0.03-alt1.noarch.rpm A simple wrapper of ReadLine with bash-like <TAB>
perl-Term-CLI-0.051003-alt1.noarch.rpm CLI interpreter based on Term::ReadLine
perl-Term-CallEditor-0.66-alt1.noarch.rpm solicit data from an external editor
perl-Term-Chart-0.04-alt1.noarch.rpm perl module Term-Chart
perl-Term-Choose-1.627-alt1.noarch.rpm Works as L<Term::Choose>