2012/9/5 Irfan Sayed <irfan_sayed2...@yahoo.com>: > please find the attached . > what i am looking for is, need to destroy the window $mw1 once the text > entered in scrolled text window > i just want to destroy $mw1 and not entire application > > please suggest .
Hello. I'm not expert neither in Perl nor in Perl/Tk. But I could recommend you 1. to use `strict` and `warnings` pragmas in your code 2. to create all variables with `my` 3. to save the entered text in some variable declared out of `sub update` that creates/destroys $mw1 -- Best regards, Alex -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/