Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Perl by Example

by Bismark (Scribe)
on Jan 13, 2003 at 17:25 UTC ( #226525=bookreview: print w/replies, xml ) Need Help??
Order Perl by Example

Item Description: Written by Ellie Quigley, Published by Prentice Hall

Review Synopsis: Update to the first review

A well thought out book that is very useful to have. I would rank it up there with Perl In a Nutshell.
Takes you through almost everything and it uses code
that is easy to follow and implement. Very understandable.

Each sample is written in a clear format. First the script, then the output and then an explaination of the script. There
are 13 chapters that cover Variables, Operators, Regex, Conditionals,
FileHandles, Subs, Interfacing, and much more. Each code sample is quite easy to follow You'll learn exactly what you need to know--and every new function is demonstrated.

The book evolved from a Perl Programming class at the University of California.
Hard to find, but worth the search.

Here is a sample;

$firstVar  = 20;
$secondVar = 20;

$firstVar++ if ($secondVar == 10);

print("firstVar  = $firstVar\n");
print("secondVar = $secondVar\n");

This program prints:

firstVar  = 20
secondVar = 20

The program doesn't increment $firstVar because the value of $secondVar is 20 at 
the time the condition is evaluated. If you changed the 10 to a 20
in the condition, Perl would increment $firstVar.

Replies are listed 'Best First'.
Re: Perl by Example
by PodMaster (Abbot) on Jan 14, 2003 at 02:10 UTC
    Perl 5 By Example is available online for free at

    This link used to be in outside links but it's gone now for some reason.

    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    ** The Third rule of perl club is a statement of fact: pod is sexy.

      Very good website ! Html guide - A detailed guide to HTML tags. In English and Russian. Perl tutorial - A detailed tutorial to Perl tags.In Russian.
      This link was removed. Forget it.
Re: Perl by Example
by larsen (Parson) on Jan 13, 2003 at 22:50 UTC
    Could you go deeper?

    I never heard of this book, and I'm interested in the ways one could organize and present topics only through examples. I suggest to extend your review providing some examples from the book; better if you can supply some of the examples that explain topics of particular relevance for Perl: regexp, closures, map-grep constructs and so forth and so on. Thank you.
Re: Perl by Example
by mpolo (Chaplain) on Jan 14, 2003 at 15:07 UTC
    I used the online version to do much of my Perl learning long ago. It is very easy to understand and moves well. That said, it doesn't go into using the strict pragma and other niceties... I am still a (slowly) reforming global variable abuser because of this.

      The "online version" mentioned here has moved. It is now at Also, there are two books with the same title:

      Perl by Example - author is David Medinets, published by Que, first edition, October 1996 vintage.

      Perl by Example - author Ellie Quigley, published by Prentice Hall, fourth edition, November 2007 vintage.

      I came here looking for a review of the latter, prior to possible purchase. Comments on Amazon are mostly positive, description looks good. This Perl Monks page began with a mini-review of this book.

      I see the latest comments are from 2003. Just wondering if the book is still a good value.

        Yes, there is a new version and it is still valuable. I bought it some months ago. I became interested after a recent review in Free Software Magazine.
        there are two books with the same title

        Quite right.

        This OP is a review of the Quigley book, while most everybody else in the thread is talking about the Medinets book.

        The Quigley book is not available on line.

        The Medinets book, though available on line, is not highly regarded by Perl experts, and so is not included in Perl Reference Materials: Books.

        I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
(z) Re: Perl by Example
by zigdon (Deacon) on Jan 13, 2003 at 17:34 UTC
    From BN ($45) - get it here, PM gets a kickback! :)
    From amazon ($31.50) - does PM have an amazon id as well? I'd be happy to add it to the post.

    -- zigdon

      From, Perl By Example for $27.50, Perl 5 By Example w/CD for $25.50.

      Bookpool has great prices for technical books. I don't think I've ever seen books cheaper anywhere else.

      I have no relationship with Bookpool other than being a happy customer.

      --- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';

        Yes, they might have good prices but it depends where you live. Bookpool's default shipping prices for a single book are for when "shipped to a commercial address in Washington DC 20230." If, for example, you live in Canada, they'll charge you around USD $28.00 just for shipping!.

        So it isn't necessarily as good a deal as it seems.

Re: Perl by Example
by Ramon Dy-Reyes (Initiate) on Dec 09, 2011 at 01:15 UTC

    it's a good book. a must have for perl coders out there to browse from time to time.

    but if your experienced and just looking for techniques and fast how-tos, google it is still your fastest bet.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: bookreview [id://226525]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2022-08-13 15:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found