CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
print color text to file

 



zivsegal
Novice

Nov 7, 2007, 12:57 AM

Post #1 of 1 (240 views)
print color text to file Can't Post

Hi,

How can I print color text to file.

To stdout I use:
use Term::ANSIColor;
print color 'bold blue';
print "AAA\n";
print color 'reset';

I try insted of
print "AAA\n";
print LOG "AAA\n";

and the file text is black and not blue like the stdout

Thanks,
ziv

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives