Skip to content

Commit 7fb834e

Browse files
author
Carl Masak
committed
correct s/fruit/fruits/ typo
1 parent d259b71 commit 7fb834e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Perl6/Perl5/Differences.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ This list is currently known to be incomplete.
2424
Where you used to say:
2525

2626
my @fruits = ("apple", "pear", "banana");
27-
print $fruit[0], "\n";
27+
print $fruits[0], "\n";
2828

2929
You would now say:
3030

3131
my @fruits = "apple", "pear", "banana";
32-
say @fruit[0];
32+
say @fruits[0];
3333

3434
Or even use the C<< <> >> operator, which replaces C<qw()>:
3535

0 commit comments

Comments
 (0)