in reply to menu checkbutton is not modifying variable
Well, it "works" if you change line 29 to
What's happening is that you bind the references in BuildMenu()
But with
are you overwriting the old hash including its bound element thing1 inside, with a new hash and a different thing1 ...
I'd rather change that timing.
NB: checkbutton will toggle between 0 and 1 - those 3 and 7 are considered false like 0.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|