Think about Loose Coupling | |
PerlMonks |
Re: Tk -textvariable doesn't change when Entry widget changesby JediWizard (Deacon) |
on Sep 20, 2005 at 14:51 UTC ( [id://493474]=note: print w/replies, xml ) | Need Help?? |
I believe that you need to pass a reference to a (Update: Scalar) variable into the -textvariable parameter for an entry widget.
Update: Please note that I intentioally left off the backslash on $val2 to demonstrate the different behavior when passing a simple value rather than a scalar reference. They say that time changes things, but you actually have to change them yourself. Andy Warhol
In Section
Seekers of Perl Wisdom
|
|