http://qs321.pair.com?node_id=31708


in reply to Fido and Amelia

I stopped in a bookstore at lunch to see if I could figure out your joke. (I don't feel like replacing my Camel book yet. I don't think enough has changed.) And the line says,
$fido = new Camel 'Amelia';
or something like that. Doesn't that make $fido the new book? Why not Fuchsia, Blue, and Fido?

Replies are listed 'Best First'.
RE: RE: Fido and Amelia
by BooK (Curate) on Sep 09, 2000 at 03:36 UTC

    That's it!

    But if you look in Fido, page 5 or so, you'll notice there's a similar line in a list of examples, that says:

    $fido = new Camel 'Fido';

    So now the "new Camel" is Amelia, and then it was Fido. We are interested in the Camel, not in the scalar variable that holds a reference to it...

    And, well, a lot has changed (in the book, if not in Perl), for example, I heard that the chapter about regular expressions is new and very good (and probably written by Jon).

      Incidentally, I once asked Larry what the camel's name was, and he told me it was named Amelia.

      Ah! I hadn't spotted $fido on page 5 of my book. Ok then, I'm convinced. Fido and Amelia it is.

      But I still have little intention of buying Amelia anytime soon, as Fido is sufficient for my needs at the moment.