Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Menu
use Term::ANSIColor; : Term « System Functions « Perl
Perl
System Functions
Term
use Term::ANSIColor;
print color(
"red"
),
"That is an error!\n"
, color(
"reset"
);
Related examples in the same category
1.
use Term::ReadKey;
2.
ReadMode('cbreak');
3.
Get Terminal Size
4.
Set new prompt letter for terminal when reading data
5.
Read password without displaying anything