|< 1 2 >| | 13 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/perl
use strict;
use Tk;
use threads qw(yield);
use threads::shared;
my $win = MainWindow->new(-title => "man");
my $t = threads->new(\&kind);
sub kind {
my $counter = 0;
while (1) {
$counter++;
$win->configure(-title=>"$counter");
$win->update();
sleep(1);
}
return;
}
MainLoop;
1
2
Zitat (sri @ 09.04.2005, 18:49)
"channel spammer"
|< 1 2 >| | 13 Einträge, 2 Seiten |