diff options
author | Karen Etheridge <ether@cpan.org> | 2019-07-05 14:02:06 -0700 |
---|---|---|
committer | Karen Etheridge <ether@cpan.org> | 2019-07-05 14:02:06 -0700 |
commit | 73560ddf6122a9507cd835ca87b431a3b94723c8 (patch) | |
tree | cc687174b6a3e65a7aa093b97ad9c7f2712fa2ad | |
parent | 06cc5386dd28f60bb72cc21229809ac27bfe7086 (diff) | |
download | perl-73560ddf6122a9507cd835ca87b431a3b94723c8.tar.gz |
make variable names consistent in this example
..as suggested by Andre Schultz at https://github.com/OpusVL/perldoc.perl.org/issues/57
-rw-r--r-- | pod/perlintro.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlintro.pod b/pod/perlintro.pod index 5c168c18e1..5ba3afbeaa 100644 --- a/pod/perlintro.pod +++ b/pod/perlintro.pod @@ -248,8 +248,8 @@ To get at hash elements: You can get at lists of keys and values with C<keys()> and C<values()>. - my @fruits = keys %fruit_colors; - my @colors = values %fruit_colors; + my @fruits = keys %fruit_color; + my @colors = values %fruit_color; Hashes have no particular internal order, though you can sort the keys and loop through them. |