in reply to Re^5: Tk: Cannot install from CPAN sometimes.
in thread Tk: Cannot install from CPAN sometimes.

I originally installed Tk to several machines, but the problem appears at a single machine as well, as demonstrated by the loop. I was just curious why SelectionClear and SelectionGet cannot follow each other without some time interval. But maybe it's the test's problem, e.g. some other widget intervening and unsetting $@?

Replies are listed 'Best First'.
Re^7: Tk: Cannot install from CPAN sometimes.
by zentara (Cardinal) on Oct 29, 2010 at 15:56 UTC
    why SelectionClear and SelectionGet cannot follow each other without some time interval

    ..? maybe because it has to communicate with the Xserver? I think those copy and paste buffers are part of X.


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh
      Aren't both of those calls supposed to be blocking?