Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Format With Color Output

Reply
Thread Tools

Format With Color Output

 
 
Muller
Guest
Posts: n/a
 
      01-05-2005
Hi,
I am using FORMAT Comand to beautify the conlsole output using "write",
and I use Win32::Console to add colors, I want only cirtain Variables
defined in FORMAT to get color effect,
if I change the color value like
$Console->Attr($Color);
write;
then complete FORMAT output is changed,
 
Reply With Quote
 
 
 
 
Tlexnex
Guest
Posts: n/a
 
      01-13-2005

Muller wrote:
> Hi,
> I am using FORMAT Comand to beautify the conlsole output using

"write",
> and I use Win32::Console to add colors, I want only cirtain Variables


> defined in FORMAT to get color effect,
> if I change the color value like
> $Console->Attr($Color);
> write;
> then complete FORMAT output is changed,


I'm trying to handle colors within formats as well, did you find a
resolution to this? I want to create a logging standard for my script
processes that resembles the Linux boot process - easy to follow and
read. There does not seem to be a clean way to do this in Perl..
Thanks,

Todd

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing font color from current font color to black color Kamaljeet Saini Ruby 0 02-13-2009 04:58 PM
Want help on how we convert output to tabular format Using the expat parser (http://expat.sourceforge.net/) i have to parse the following xml file and print it on the screen in tabular format. sharan XML 1 10-26-2007 01:20 PM
standard way of getting color # string from drawing.color? PJ6 ASP .Net 4 09-15-2005 06:10 PM
how to convert color in style "#e6e6e6" to color object in vb.net moondaddy ASP .Net 3 04-28-2004 04:59 AM
BGR Color to Java Color Andrew Arace Java 7 09-16-2003 05:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57