View Review Details


Book:   Learning Perl/Tk
Subject:   Learning Perl/Tk Review
Date:   1999-03-18 00:00:00
From:   Robin Trew


A very good choice of topic, but some apparent glitches in editorial process.


The target audience could well be discouraged by the fact that BOTH of the first two pieces of code which they are asked to run contain elementary syntax errors and fail, generating syntax error messages.


1. The "Hello World" example on Page 5 (Jan 99 Edition):


$mw->title( Hello World );


fails because the string is unquoted.


2. The "see if you already have the Tk module installed" one line on page 5 (same edition):


perl -e 'use Tk'


Also fails on Win32/ActiveState installations, for which it should read


perl -e "use Tk"


I appreciate that editors can not be expected to test all the code in a book, but perhaps there is a case for at least checking the syntax of "Hello World" examples.



See larger cover