Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: (tye)Re: TK Problem (me again)

by mr_leisure (Beadle)
on Jan 04, 2001 at 23:12 UTC ( #49824=note: print w/replies, xml ) Need Help??


in reply to (tye)Re: TK Problem (me again)
in thread TK Problem (me again)

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
(tye)Re2: TK Problem (me again)
by tye (Sage) on Jan 04, 2001 at 23:22 UTC

    foreach ($textline = <LOG>) {

    doesn't do what you want. Perhaps:

    foreach my $textline ( <LOG> ) { # or, much better: while( defined( $textline= <LOG> ) ) {
    I was thinking of using nearly your original code inside of insert_lines(), assuming that that code set the default color for new insertions. I guess you'd have to restore the default color in the else clause or at the bottom of the loop (or in a continue block).

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://49824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2021-09-16 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?