G'day jasonwolf,
"This is more of a learning experience then anything."
Well, we all have to start somewhere. There are a number of problems with this code: I've highlighted some of these in my response to zentara's question.
Although this is GUI code, it's still Perl code, and you should write it in the same way as you would other Perl code. Always start with
use strict; use warnings;
Don't write a monolithic script; instead adopt a modular approach. Use lexical variables in the smallest scope possible (this includes filehandles — see open).
The Tkx documentation has links to tutorials which you should find useful. I've read all of these and am aware of some conflicts with the advice given. As a general rule, where there appear to be discrepancies, I'd recommend following the Perl/CPAN advice in preference to the Tcl advice. And, of course, when in doubt, come back and ask us about it.
— Ken
In reply to Re: Tkx and clear a textbox content
by kcott
in thread Tkx and clear a textbox content
by jasonwolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |