From: Mark-Jason Dominus Date: Mon, 11 Mar 2002 11:36:27 +0000 (-0500) Subject: perlreftut update X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e937c8c3e4c403c82f07d3a23f8e000d37942420;p=p5sagit%2Fp5-mst-13.2.git perlreftut update Message-Id: <20020311163627.31020.qmail@plover.com> p4raw-id: //depot/perl@15177 --- diff --git a/pod/perlreftut.pod b/pod/perlreftut.pod index 073d358..1e4ad8f 100644 --- a/pod/perlreftut.pod +++ b/pod/perlreftut.pod @@ -65,14 +65,14 @@ references. A reference is a scalar value that I an entire array or an entire hash (or to just about anything else). Names are one kind of -reference that you're already familiar with. Think of the President: -a messy, inconvenient bag of blood and bones. But to talk about him, -or to represent him in a computer program, all you need is the easy, -convenient scalar string "Bill Clinton". +reference that you're already familiar with. Think of the President +of the United States: a messy, inconvenient bag of blood and bones. +But to talk about him, or to represent him in a computer program, all +you need is the easy, convenient scalar string "George Bush". References in Perl are like names for arrays and hashes. They're Perl's private, internal names, so you can be sure they're -unambiguous. Unlike "Bill Clinton", a reference only refers to one +unambiguous. Unlike "George Bush", a reference only refers to one thing, and you always know what it refers to. If you have a reference to an array, you can recover the entire array from it. If you have a reference to a hash, you can recover the entire hash. But the