in reply to Syntax error using Tk
my $var; # .... and then ...., -textvariable => \$var, ... [download]
Courage, the Cowardly Dog