Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Sounds like a nice thing. Too bad it doesn't seem to run on my machine. I get an unknown option "label" at /usr/lib/perl5/site_perl/5.8.0/i686-linux/ line 246. with Tk 804.025 that I just installed.

    Is this thing supposed to run on this version of Tk? It could well be that my Tk is screwed. 'make test'ing looked a little fishy for me.
    • I do not know much about which versions it should work with, even which exact version I have.

      This reminds me---how do you test Tk things?
      • This reminds me---how do you test Tk things?

        That was what I asked me as well when I saw the Tk tests fly by. NI-S has obviously found a way.

        Those tests are maybe a little flaky. I have my window manager configured so that I place any newly created window on my desktop with a mouse-click. That made some of the tests, that apparently expected to create a new window right away, fail.
        • I know I can test that things like window creation happens, but how can I test that when I press this key this menu gets updated, and other GUI events like that? Chris Nandor has some stuff like that for one of his Mac distros, but it also relies on the user doing the thing that the test tells him to do (and doing it correctly).

          I suppose that a Test::Tk could delve into the main window data structure and look at things, or could simulate some events somehow. Someone with more skill than I have would need to figure all that out.