By Stephen Lidie, Nancy Walsh
January 2002
Pages: 768
ISBN 10: 1-56592-716-8 |
ISBN 13: 9781565927162
![]()
![]()
![]()
![]()
(Average of 7 Customer Reviews)
Mastering Perl/Tk is the one and only book you need for programming with Perl/Tk. The first half of the book contains the basics on how to use Perl/Tk, and then branches out into advanced applications, including extensive program examples. This book is for novices and experienced Perl/Tk programmers alike.
Full Description
- An introduction to each of the basic Perl/Tk widgets and geometry managers
- A dissection of the MainLoop, including how to use callbacks and bindings effectively
- Coverage of the Tix widgets, an extended set of widgets that are a part of the standard Perl/Tk distribution
- Working with images in Perl/Tk, including bitmaps, pixmaps, photos, and how to compose a compound image type
- How to create custom mega-widgets in Perl/Tk, both composite and derived
- Handling interprocess communication with Perl/Tk, both with standard Unix utilities (pipes and sockets) and with the send command designed for direct communication between Tk applications
- Developing your own Tk widget in the C language
- Examples of web applications written with Perl/Tk and the LWP library
Register your book | Submit Errata | Examples | Authors' Articles | Author's Web Site
Browse within this book
Cover | Table of Contents | Index | Sample Chapter | Colophon
Book details
First Edition: January 2002
ISBN: 1-56592-716-8
Pages: 768
Average Customer Reviews: ![]()
![]()
![]()
![]()
(Based on 7 Reviews)
Featured customer reviews
printf, May 21 2008
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
great for the experienced user, May 03 2006
It might just my background or my personal, but coming from much UNIX scripting and VB/Access experience I found this book frustrating and slow. Being brand new to Perl TK just about every thing I wanted to do was an ordeal finding it, if it was explained at all.
Try looking up centering text in an HList widget, changing fonts or putting pictures on buttons.....locating windows within windows, embedding objects, pulling data from files and displaying. How about explaining the difference between Listboxes and Hlists? That was a time killer. I found myself endlessly going to forums or counting on coworkers for simple stuff which is embarassing on the job. On top of this, the index is merciless and screwed up. Perhaps it is a great reference book for the Perl Tk guru.
It must not be Nancy Walsh, because later I found "Learning Perl Tk", an earlier book which was wayyyy better- much easier to find things and program quickly. I rarely rate books bad, but I give this one an "F".....where's my Bic lighter?
Mastering Perl/Tk Review, November 18 2002
Although this book is a great book for learning TK, it is not all that good for reference. The Index in this book is so full of errors that the index is next to unusable for a quick lookup. That aside, this book is chuck full of valuable information for those new to Perl/TK and for those who are not so new to it.
The only thing that would have been nice is an appendix in the back that shows all the methods each widget has.
Mastering Perl/Tk Review, July 18 2002
This is a good book no doubt.. Infact a lot improvement from the book Learning Perl Tk... Well I had to read this book asking it from My friend who was here for a short time.. as this book is very difficult to get in India. After reading this book, I tried to get it in shops in Bangalore, but it's not availaible...
Well It's a nice book overall.. The good thing is that one who does not has the book learning perl Tk.. does not need to worry, as nearly everything essential from that is covered in this, ofcourse in addition to that a lot of exciting stuff too regarding Perl Tk...
Mastering Perl/Tk Review, June 16 2002
In my opinion, this is the most complete reference on Perl/Tk. Well written. I especially appreciate the way the authors covered geometry management.
My one complaint, however, is the lack of availability of the example code in the book. Some selected examples can be downloaded from the O'Reilly website but the larger, more involved examples are not available. I have typed a couple code examples from the book and they wouldn't run.
Why bother publishing only some of the code examples? I would hope that, after paying $45 for the book, O'Reilly doesn't expect me to pay another $20 to gain access to the example code on line. This would be enough to keep me from buying another O'Reilly book.
This one beef aside, I would recommend this book.
Mastering Perl/Tk Review, March 01 2002
This is a great book. It finally puts in one place all of the elements
of Perl/Tk.
It is full of good examples and I have found it very enlightening even
though I have been using Perl/Tk to build very intense applications
for 4 years.
The only thing that jumped out at me was that there was no reference
to the Table widget. Did it fall on the editing room floor?
The explantion of the geometry managers seemed to be expanded from
Learning Perl/Tk which is very helpful as this is one of the most
difficult concepts to grasp for complex UI development.
Revisiting the Towers of Hanoi problem with a Perl/Tk visualization
was a real kick!
Books like this help expose just what a useful package Perl/Tk is and
should be recommended reading for everyone!!
Mastering Perl/Tk Review, February 28 2002
Mastering Perl/Tk is a very good book; meaning that it's a tiny bit of a disappointment as a part of "The Menagerie". The first part of the book seems to be a rehash of Learning Perl/Tk, and the rest of the material is somewhat haphazardly organized--it's all there but can sometimes be difficult to find.
Having said that, this book is a vast improvement over the TK::* perldocs, and contains numerous useful (and reasonably well explained) examples, tips and techniques.
The book also contains some real nuggets--not always directly related to Tk; the example app for downloading comic strips has a wonderful digression on creating non-blocking network processes in a Microsoft Windows environment.
The reference material is very useful, and more up to date than the "Pocket Reference" (but at 746+ pages, you won't be slipping this book into the back pocket of your jeans.)
All in all, Mastering Perl/Tk is a good buy if you need or want to learn and use Perl/Tk. Read it cover-to-cover, then be prepared to flip through the index.
Media reviews
"So you want to do a GUI application, and you want to do it in your favorite language (Perl of course :). Well, this is the book to get...The content is wonderful, very extensive. If you use Perl/Tk, this is *the* book to have. If you are comparing different graphics libraries for Perl, then you'll want this too."
--Jayce, PLUG, Nov 4, 2002
"a useful tutorial and reference for both the novice and experienced Perl programmers, and deserves to be considered by programmers who are interested in increasing their proficiency in the use of Tk."
--Darryl Nishamura, Biotech Software and Internet Report, Vol 3, Number 3, 2002
"The definitive book on Perl/Tk."--Charlie Stross, LinuxFormat, September 2002
"It is possible to learn Perl/Tk using only material that is freely available on the Internet. However, 'Mastering Perl/Tk' is truly a value-add above and beyond on-line reference material. The authors' explanations and examples give you ideas on how to build useful applications that solve real problems. The on-line material tells little more than syntax. If you want to learn more about GUI programming in Perl, 'Mastering Perl/Tk' will be a valuable addition to your library."
--Bill Cunningham, Linux Journal, March 2002
"The book's stated purpose is to be the master reference on Perl/Tk. It is written to be usable by someone having only basic familiarity with Perl programming, but it also covers the most advanced features of both Perl and the Tk module, so as to make the dedicated reader of this book a master of GUI programming with Perl/Tk. I believe the book meets these goals...The reader will have a fully functional GUI program running by page 12. By the end of chapter 13, the reader will have gained experience with all the stock widgets in the Perl/Tk module. The book also covers deployment of Perl/Tk on both UNIX and Windows platforms...if you want to learn more about GUI programming in Perl, 'Mastering Perl/Tk' will be a valuable addition to your library."--Bill Cunningham, Linuxjournal.com, March 2002







