I'm new to perl-Tk, and was trying to do something with the Button. I have two commands to execute and it has to be executed separately. In the usual way, I can do it with two subs and two buttons. The question is, can I do it with one Button which will go to first sub on first click and change the text of Button to the second command and after clicking it the second time, will go to the second sub? I've googled and did not get any solution. It will be helpful, if anybody can help me out.
Thanks.
In reply to Changing the button function by kkma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |