in reply to Re^2: TK form submission
in thread TK form submission
characters in a Text widget are referenced by text indexes. The parameters of the get method are the start index and stop index (which is optional). Indexes are denoted in line.character format. Line numbers in a Text widget start at 1, and characters on a line start at 0. end is a special index referring to the end of the widget or line. So, for example:
my $text = $widget->get("2.0", "5.end")
means get everything from line 2, character 1 to the end of line 5 and place the content into the variable $text.
For a more detailed explanation, refer to O'reilly's "Mastering Perl/Tk." If you are writing gui's in Perl/Tk it is a most valuable resource.
hope this helps,
davidj