in reply to get the text from a cell in a Tk Table

You put a LabEntry widget into the table at 2, 2 so you get a LabEntry widget back. You need to call the LabEntry widget's get to get the data it contains:

my $THE_STUFF_THAT_IS_IN_BOX_2_2=$table->get(2,2)->get ();
True laziness is hard work

Replies are listed 'Best First'.
Re^2: get the text from a cell in a Tk Table
by Anonymous Monk on Jul 11, 2012 at 15:49 UTC
    I feel it should be...
    my $THE_STUFF_THAT_IS_IN_BOX_2_2 = $table->get(2,2)-> cget('-text');