Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Dynamically destroying a window in Tk?by Ytrew (Pilgrim) |
on Dec 05, 2004 at 23:24 UTC ( [id://412547]=note: print w/replies, xml ) | Need Help?? |
Well, first of all, without knowing if your Perl/TK call to destroy works, I can see that your call to quit() has problems.
You shouldn't use single quotes, or you'll pass the literal string '$windowname' to your function. It looks like you want to pass in the value of the $windowname variable instead. Remove the single quotes from the function call, and try again. :-) Good luck!
--
In Section
Seekers of Perl Wisdom
|
|