In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/b9d0a43747db03517f1acf3b092bb5276058747c?hp=3275d25a1e4129bdf23c447f60be4348af4dfe19>
- Log ----------------------------------------------------------------- commit b9d0a43747db03517f1acf3b092bb5276058747c Author: Smylers <smyl...@stripey.com> Date: Thu Oct 12 14:18:40 2017 +0100 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. ----------------------------------------------------------------------- Summary of changes: pod/perlreftut.pod | 11 ++++++----- 1 file 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 -- Perl5 Master Repository