# getting colored output in perl

**URL:** <https://community.unix.com/t/getting-colored-output-in-perl/194036>\
**Category:** Shell Programming and Scripting\
**Created:** [April 22, 2008, 2:26am UTC](https://community.unix.com/t/getting-colored-output-in-perl/194036 "2008-04-22T02:26:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![s123.radha](https://community.unix.com/letter_avatar/s123.radha/32/5_5575768a8748004e209b776fc1b2916d.png) [@s123.radha](https://community.unix.com/u/s123.radha)\
**Post date:** [April 22, 2008, 2:26am UTC](https://community.unix.com/t/getting-colored-output-in-perl/194036/1 "2008-04-22T02:26:54Z")

</div>

Hello,

I am scripting in perl and I need to get my output of the "print" statement in color. Please tell me how to go ahead.

Radha

---

<div class="post-metadata">

**Author:** ![gurukottur](https://community.unix.com/letter_avatar/gurukottur/32/5_5575768a8748004e209b776fc1b2916d.png) [@gurukottur](https://community.unix.com/u/gurukottur)\
**Post date:** [April 22, 2008, 2:28am UTC](https://community.unix.com/t/getting-colored-output-in-perl/194036/2 "2008-04-22T02:28:21Z")

</div>

use Term::ANSIColor

---

<div class="post-metadata">

**Author:** ![s123.radha](https://community.unix.com/letter_avatar/s123.radha/32/5_5575768a8748004e209b776fc1b2916d.png) [@s123.radha](https://community.unix.com/u/s123.radha)\
**Post date:** [April 22, 2008, 3:19am UTC](https://community.unix.com/t/getting-colored-output-in-perl/194036/3 "2008-04-22T03:19:27Z")

</div>

Thanks .. i got now... 🙂
