Skip to content

Commit 73560dd

Browse files
make variable names consistent in this example
..as suggested by Andre Schultz at OpusVL/perldoc.perl.org#57
1 parent 06cc538 commit 73560dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pod/perlintro.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ To get at hash elements:
248248
You can get at lists of keys and values with C<keys()> and
249249
C<values()>.
250250

251-
my @fruits = keys %fruit_colors;
252-
my @colors = values %fruit_colors;
251+
my @fruits = keys %fruit_color;
252+
my @colors = values %fruit_color;
253253

254254
Hashes have no particular internal order, though you can sort the keys
255255
and loop through them.

0 commit comments

Comments
 (0)