The get() method requires arguments that specify a range of text to return from the widget. To get all the text, try my $take = $text1->get('1.0','end'); which says 'return all text from line 1 (the first line) character 0 (the first character) to the end'.
More details in perldoc Tk::Text.
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
In reply to Re: Perl/Tk help
by pfaut
in thread Perl/Tk help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |