- Jun
- 30
- 0
The problem is not with actually executing Tk in perl program but just including it. Here is the perl program:
t0.pl is 'print "Hello Word\n";'
In TCC type in "t0" and you get "Hello World". Do it again an the same thing. As expected.
Now add a line:
use Tk;
print "Hello World\n";
Open a new tab and type "t0" and you get "Hello World". Type it in again you get nothing.
Close the tab, open a new one and repeat the sequence. You will get "Hello World" the first time and nothing after that. Type in 'perl t0.pl' and you get "Hello World" every time.
Any solution?
David
t0.pl is 'print "Hello Word\n";'
In TCC type in "t0" and you get "Hello World". Do it again an the same thing. As expected.
Now add a line:
use Tk;
print "Hello World\n";
Open a new tab and type "t0" and you get "Hello World". Type it in again you get nothing.
Close the tab, open a new one and repeat the sequence. You will get "Hello World" the first time and nothing after that. Type in 'perl t0.pl' and you get "Hello World" every time.
Any solution?
David