Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: TK, seting value of a variable.

by papaismurf (Novice)
on Dec 15, 2010 at 20:20 UTC ( [id://877364]=note: print w/replies, xml ) Need Help??


in reply to Re: TK, seting value of a variable.
in thread TK, seting value of a variable.

Thx for you help, but i still have the same problem.
my $labelproxy = $frameproxy -> Label(-text=>"\nProxy:") -> pack(); my $proxyentry = $frameproxy -> Entry(-width => 23,-textvariable=>\$oi +) -> pack(); $proxystatus = $oi; my $chkproxyon = $frameproxy -> Radiobutton(-text=>"ON",-selectcolor = +> green, -value=>\$proxystatus, -variable=>\$radio) -> pack(); my $chkproxyoff = $frameproxy -> Radiobutton(-text=>"OFF",-selectcolor + => green, -value=>"semproxy", -variable=>\$radio) -> pack();
When i print $radio, choosing "off" its ok, print in screen "semproxy", but when i choose ON, instead print my variable "$proxystatus" i got "REF(0x9e0d730)"

Replies are listed 'Best First'.
Re^3: TK, seting value of a variable.
by andal (Hermit) on Dec 16, 2010 at 09:26 UTC

    Maybe you shouldn't use references in settings then? Or opposite, dereference the returned value?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://877364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-20 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found