diff options
author | Smylers <Smylers@stripey.com> | 2017-10-12 14:18:40 +0100 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-15 11:46:19 +0200 |
commit | b9d0a43747db03517f1acf3b092bb5276058747c (patch) | |
tree | 1490cafd57125eb80ef72cbf52200492828cf389 /pod | |
parent | 3275d25a1e4129bdf23c447f60be4348af4dfe19 (diff) | |
download | perl-b9d0a43747db03517f1acf3b092bb5276058747c.tar.gz |
Remove out-of-date mention of USA president
Avoid having to continue to update this every time the president changes
by replacing Barack Obama with Ada Lovelace.
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlreftut.pod | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pod/perlreftut.pod b/pod/perlreftut.pod index bd5d38e418..94a96b0e1c 100644 --- a/pod/perlreftut.pod +++ b/pod/perlreftut.pod @@ -63,14 +63,15 @@ 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 -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 "Barack Obama". +reference that you're already familiar with. Each human being is a +messy, inconvenient collection of cells. But to refer to a particular +human, for instance the first computer programmer, it isn't necessary to +describe each of their cells; all you need is the easy, convenient +scalar string "Ada Lovelace". 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 "Barack Obama", a reference only refers to one +unambiguous. Unlike a human name, 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 |