View Review Details


Book:   Learning Perl/Tk
Subject:   Learning Perl/Tk Review
Date:   1999-03-26 00:00:00
From:   Gary Strait


As one with perl experience, but no Tk experience,
I found that this book gave me a very good intro to
Perl/Tk and allowed me to get started quickly building
a fancy interface with lots of sophisticated
features. The only example I tried from the book
was the "Hello World" example, where I immediately
recognized the need for quotes (I ran this to prove that
I had Tk setup and working), from there I just
read the book until I was ready to build my first real
interface.


Not starting simple, I went right for "One
Scrollbar, Multiple Widgets" (page138), where I
found one problem not noted in the errata. The
yviewMoveto method described on page 133 and used
in the example on page 140 doesn't work on my
AIX system (it's undefined). After some searching,
I find this works correctly if the example
$list->yviewMoveto($top);
is replaced with
$list->yview(moveto=>$top);
Is this an error, or is there something unique
about Tk on AIX?


See larger cover