in reply to Perl/Tk - Can't see data?

My guess - your Tk widgets are based on some references to scalar, which are no more used for database access.

to be less vague, let us say, database read code does something like this:

$obj->{_record} = {company=>'fkjfkdjfd',firstname=>'vmk'};
or may be very differently, but similar in spirit; so there will be are another scalars.

To say, to access those, you use same formulae $self->{_record}->{company} but actual scalar is another.

You must understand that -textvariable=>\....... does not recalculates reference each time, it takes scalar reference which is lost by your further code.

just a guess

Best regards,
Courage, the Cowardly Dog

Replies are listed 'Best First'.
Re^2: Perl/Tk - Can't see data?
by jdtoronto (Prior) on Oct 04, 2004 at 21:08 UTC
    Ah haa!

    See, when I asked what fundamental error I made, little did I see that I had made a fundamental error. Thanks Courage. Each time I get a record I have to copy it into the 'static hash' that was referenced at draw, so I added a couple of lines here and there, and, voila, it works!

    Thanks once again!

    jdtoronto