View Review Details


Book:   Mastering Perl/Tk
Subject:   printf
Date:   2008-05-21 01:36:23
From:   greymaus
Rating:  StarStarStarStarStar

In the chapter on the Text widget, there was a snippet to redirect ordinary print (or printf)
to the Text widget.
tie *STDOUT, ref $text, text;


which throws up an error. ->
Failed to AUTOLOAD 'Tk::Frame::TIEHANDLE' at ircsnoop.pl line 16


I notice that the version used in Browse Contents here is different, but still does not explain how to handle it


See larger cover