Tree
Tree

Reputation: 10352

How can I color text in Perl's standard output?

How do I color text in Perl's standard output without using any extra module?

Upvotes: 1

Views: 4975

Answers (2)

jeje
jeje

Reputation: 3211

Have a look at http://en.wikipedia.org/wiki/ANSI_escape_code to know which control sequences to output if you do not want to use any module.

Upvotes: 5

Tree
Tree

Reputation: 10352

We can use Term::ANSIColor.

Upvotes: 8

Related Questions