in reply to Re: Re: Proof of concept: color tty window in Tk
in thread Proof of concept: color tty window in Tk

Sounds good. Mostly what I was suggesting was to try to avoid ${warnline} in the string. If your code could parse/translate the string sent to print, it seems to me it would be easier to use/read.

Just my $0.02, --traveler

Replies are listed 'Best First'.
Re: Re: Re: Re: Proof of concept: color tty window in Tk
by John M. Dlugosz (Monsignor) on Dec 13, 2002 at 16:27 UTC
    I don't understand.
      Well, in your case the variable is interpreted by Perl. I was suggesting a string not interpreted by Perl, but by your code. This gets the variable notation ($foo) out of the string. That way someone reading the code later doesn't think the user is printing out a user variable.

      --traveler

        I was thinking that I would not code a literal "\x1b" or whatever in the string anyway, but would interpolate $ESC.