in reply to Re^4: Dynamically altering Tk buttons
in thread Dynamically altering Tk buttons

..... yeah, even though i laughed, I am secrectly storing that away as an interesting hack which may be needed someday

Zombie Killer .... Have Keyboard, Will Telecommute

...did you try adding the filehandle to an io:select handler, and test for can_read?.... or see checking a file handle to see if it is open...... but you may have a weird app that requires zombie killing


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku

Replies are listed 'Best First'.
Re^6: Dynamically altering Tk buttons
by Llew_Llaw_Gyffes (Scribe) on Jan 05, 2010 at 19:52 UTC

    Now that you mention it, no, I didn't. I'll investigate that and see whether it'll work for me.

      Since you are already running Tk, Tk::fileevent has a "readable" method, so you should not need IO::Select

      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku