in reply to Perl/Tk help

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';

Replies are listed 'Best First'.
Re: Re: Perl/Tk help
by Anonymous Monk on Jan 29, 2003 at 01:23 UTC
    thanks alot, it worked perfectly.