From:                   [EMAIL PROTECTED]
> I am trying to do this with Perl/Tk, but it fails to work, only
> displaying the initial line of the text file:
> 
> This is the definition of the variable
> 
>  $line=$array[$num];
> 
> $num is incremented elsewhere with the click of the button.
> 
> This is the attempt to display the variable on screen.
> 
> $txtmain->configure(-textvariable => \$line,
>  .....);
> 
> I know that the incrementing is successful because replacing $line
> with $num as the -textvariable gives the right output.

Is the $line lexical by any chance?

Jenda

> Any help would be greatly appreciated.
> 
> 
> Dennis Warren
> 



=========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
There is a reason for living. There must be. I've seen it somewhere.
It's just that in the mess on my table ... and in my brain.
I can't find it.
                                        --- me

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to