or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Perl: The Programmer's Companion [Paperback]

Nigel Chapman
4.3 out of 5 stars  See all reviews (3 customer reviews)
RRP: £47.99
Price: £42.55 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £5.44 (11%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want delivery by Friday, 24 May? Choose Express delivery at checkout. See Details
Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details. Learn more.

Book Description

28 Aug 1997 047197563X 978-0471975632
Perl The Programmer′s Companion Nigel Chapman Perl is a powerful and flexible programming language. A programmer can easily put together short Perl programs to perform tasks that might otherwise require hours of development effort from a team of specialists–and it′s free! Perl is different in many ways from more conventional languages, and programmers who are used to Java, C or C++ can find its syntax and data types unusual. The Programmer′s Companion is intended to show such programmers the power of Perl and to introduce them to its unique features. Clearly flagged comparisons with other languages help relate Perl′s features to familiar territory. Written in a clear and approachable style, the author′s account of Perl is informed by his extensive knowledge of other programming languages. The book includes: ∗ a description of new Perl5 language extensions and characteristics such as the object–oriented features ∗ live, up–and–running programming examples based on real Perl scripts ∗ an introduction to the use of modules which extend the power of Perl into many application areas ∗ using Perl on the Web ∗ pointers to Perl resources on the Web The Programmer′s Companion is not exclusive to Unix users, but presents Perl as a language that can ease the programmer′s burden, no matter what system it is used on. Visit our website at http://www.wiley.com/compbooks/ ??? This book is arranged in an innovative way: rather than introduce the language keyword by keyword, it introduces "template" programs that make use of Perl′s neat pattern features and implicit arguments. This way, even at the beginning, you can get useful programs running rather than just printing "Hello world" various numbers of times . ??? The Programmer′s Companion fills the niche for a Perl language learning book aimed at the programmer who wants a solid book, to teach the language, which (1) doesn′t hand–hold too much, and (2) covers most of the more advanced features of the language.

Product details

  • Paperback: 292 pages
  • Publisher: John Wiley & Sons (28 Aug 1997)
  • Language: English
  • ISBN-10: 047197563X
  • ISBN-13: 978-0471975632
  • Product Dimensions: 19 x 1.8 x 23.5 cm
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Bestsellers Rank: 1,577,483 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

From the Publisher

excercises and support material available...
In response to Greg Wilson's advice, the latest reprint now contains excercises for the benefit of instructors using the book for courses, and for readers who find doing excercises a help in learning. Additional support material, including test data and answers for selected excercises, ....

From the Back Cover

Perl The Programmer′s Companion Nigel Chapman Perl is a powerful and flexible programming language. A programmer can easily put together short Perl programs to perform tasks that might otherwise require hours of development effort from a team of specialists–and it′s free! Perl is different in many ways from more conventional languages, and programmers who are used to Java, C or C++ can find its syntax and data types unusual. The Programmer′s Companion is intended to show such programmers the power of Perl and to introduce them to its unique features. Clearly flagged comparisons with other languages help relate Perl′s features to familiar territory. Written in a clear and approachable style, the author′s account of Perl is informed by his extensive knowledge of other programming languages. The book includes: ∗ a description of new Perl5 language extensions and characteristics such as the object–oriented features ∗ live, up–and–running programming examples based on real Perl scripts ∗ an introduction to the use of modules which extend the power of Perl into many application areas ∗ using Perl on the Web ∗ pointers to Perl resources on the Web The Programmer′s Companion is not exclusive to Unix users, but presents Perl as a language that can ease the programmer′s burden, no matter what system it is used on. Visit our website at http://www.wiley.com/compbooks/ ??? This book is arranged in an innovative way: rather than introduce the language keyword by keyword, it introduces "template" programs that make use of Perl′s neat pattern features and implicit arguments. This way, even at the beginning, you can get useful programs running rather than just printing "Hello world" various numbers of times . ??? The Programmer′s Companion fills the niche for a Perl language learning book aimed at the programmer who wants a solid book, to teach the language, which (1) doesn′t hand–hold too much, and (2) covers most of the more advanced features of the language.

Inside This Book (Learn More)
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

3 star
0
2 star
0
1 star
0
4.3 out of 5 stars
4.3 out of 5 stars
Most Helpful Customer Reviews
4 of 4 people found the following review helpful
By A Customer
Format:Paperback
After studying the O'Reilly Camel (that is, Larry Wall et al, Programming Perl, Second Edition) and doing a little website management with perl, I found the introductory textbook "Perl: The Programmer's Companion" by Nigel Chapman delightfully different from the many hardly investigated or poorly written IT publications in print.

Tom Christiansen, well-known Perl consultant from among the above altera, highly recommends the Companion ... but admits to not having fully checked it, yet.

And indeed, under closer scrutiny, the Companion, more specifically, the third printing of its first edition, reveals some flaws, partly because the book is so accurate that even minor flaws strike the attentive reader who is moderately experienced in Perl. Other flaws mislead the attentive beginner and worry the experienced Perl programmer, the more so because no errata have been published, yet. Most significant examples:

Needless computation in a few code examples suggests bad programming practice.

Logical truth is subtly misconceived, because context and the undefined value are introduced too late.

Packages, files, modules, blocks, and local (lexically scoped!) variables are not related to each other in sufficient generality, of which the reader is not notified, however.

Operators are not clearly classified (unary,binary,trinary vs scalar vs list operators). Here, the Companion should have improved on the Camel.

Despite its flaws, I wish I had learned Perl from the Companion rather than from the Camel, except for the relation of perl to Unix, which the author mostly omits and for good reason, concentrating on all-purpose Perl and the broader relation of Perl to computer science instead, in particular, on the relation of Perl to other programming languages and to algorithms and data structures, many of which latter are built in to perl or its library. Of these, Chapman discusses unbounded strings over the full character set of perl, integer and real numbers, sequences (lists), stacks, queues, deques, sets, structures (records), trees, closures, persistent hashes and other symbol tables (dictionaries, hashes, ...), with the help of which latter he implements a multi-map as an abstract data type, leading over to object classes in Perl, of which he presents a filehandle class whose objects he recommends over other filehandles. Classic example algorithms discussed include a single pass recursive descent compiler with a lexical analyzer based on a regular expression, topological sorting, and external merging assisting the sort function built-in to perl. No familiarity with these algorithms is required. The (graphic) treatment of Perl's references (type-checked pointers) is outstanding. Exception handling is covered. Code references are related to nonstandard control structures, for example, table-driven ones. The treatment of object orientation in Perl is very clear, the underlying philosophy and resulting advantages and deficiencies are thoroughly discussed, tradeoffs identified. The references claim to be complete, whereas the book is (intentionally) far from being comprehensive; hence, it does not replace the Camel. Note that the Companion is not just a cookbook, bag of tricks, or table of commandments; rather, it is a systematic, coherent, and didactic account of perl, to be studied from cover to cover. Exercises have been added to the third printing and are available from Wiley online.

Chapman emphasizes that types in Perl are another means for the programmer to express himself, rather than an obstacle to dodge. He adequately compares Perl with the Unix shell and shell utilities, C, Lisp, Awk, functional languages, Python, SQL, LaTeX, HTML, PostScript, Pascal, and Java, though mostly just in the form of occasional remarks. He also compares it with Fortran, Cobol, C++, Tcl, BCPL, Modula-3, and Snobol, that I don't know enough about to criticize. I would have preferred Icon over Snobol, because Icon descends from Snobol like Perl but has more recent relevance and is another one of those maverick languages Chapman takes such delight in; Chapman misses out on spreading the word about Icon. Another language Chapman enjoys is English, whose relation to Perl he exploits, especially for rationalizing Perl's funny prefix characters.

The book is also practical, because it discusses the full source code of useful applications; furthermore, because it addresses system dependencies for Unix, MacOS, MS-DOS descendants, and (rarely) VMS; in general, it presents the least common denominator of what perl does on these systems. Applications discussed include an EBNF to LaTeX translator (the above compiler) generating the syntax diagrams of the book, CGI-scripting, more specifically, Berkeley-DB-driven virtual web pages including forms, generated with the help of CGI.pm, and a noninteractive web client. Chapman outlines the structure of the Perl library and presents various ways of interfacing to its modules, so the reader need not reinvent the wheel. Some module interfaces are presented in more detail. Literal programming is demonstrated. Throughout the book, examples of useful text processing and bookkeeping are given. Not only plain text but also binary data is processed.

However, the DBMS interfaces of perl are only touched upon. The relation between Perl and SGML/XML is confined to the special case of making perl generate HTML. Syntax diagrams are incomplete; they are intended as idioms (anyone would have a hard time making them complete). Typing is neglected, even the static and dynamic type checking of perl, which features both of them, indeed, but to different extents and for different purposes. Multithreading is skipped entirely. Occasionally, information in the Companion is obsolete but never a crucial point.

The book is typeset in LaTeX and adequately so; hence, it is more extensive than it looks, despite its humane type area. Cross-references, special notices, footnotes, and a thorough hierarchical concept index spanning twelve pages make it more accessible. Fragments of (always complete) source code examples are interleaved with related explanatory paragraphs. Unfortunately, section numbers are scarce. Figures show bad printer calibration. There are almost no typos, even though the cover designer has misspelt Perl as PERL, for inscrutable because aesthetic reasons.

Comment | 
Was this review helpful to you?
By A Customer
Format:Paperback
This is the best-written, best-organized introduction to Perl I've read. The author never gets bogged down in the details, but manages to explain (or explain away) many of Perl 5's quirks lucidly and logically. The book's only weakness (an important one) is its lack of exercises or sample problems.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars The book you need to start learning PERL 16 April 1998
By A Customer
Format:Paperback
If you want to understand the logic of PERL and start working quickly with practical examples, this is THE book to buy. You won't be overwhelmed by details and syntaxical diagrams make PERL sometimes cryptic expressions quite clear. BRAVO!
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges