diff options
author | Mark-Jason Dominus <mjd@plover.com> | 2002-03-11 06:36:27 -0500 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2002-03-11 15:41:08 +0000 |
commit | e937c8c3e4c403c82f07d3a23f8e000d37942420 (patch) | |
tree | 4436e3b797e73dbb5f78f205da129ed4a3b3b2f3 /pod/perlreftut.pod | |
parent | 883f163595c524e547120ebc21f101e1602a2793 (diff) | |
download | perl-e937c8c3e4c403c82f07d3a23f8e000d37942420.tar.gz |
perlreftut update
Message-Id: <20020311163627.31020.qmail@plover.com>
p4raw-id: //depot/perl@15177
Diffstat (limited to 'pod/perlreftut.pod')
-rw-r--r-- | pod/perlreftut.pod | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlreftut.pod b/pod/perlreftut.pod index 073d358da5..1e4ad8f05a 100644 --- a/pod/perlreftut.pod +++ b/pod/perlreftut.pod @@ -65,14 +65,14 @@ references. A reference is a scalar value that I<refers to> 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 |