diff options
author | Scott Baker <scott@perturb.org> | 2023-01-24 10:12:38 -0800 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2023-01-25 17:39:31 -0500 |
commit | 4ef62b4258ac6d7fc4187a2c98c8854e8045ab9c (patch) | |
tree | 11600a3c0b19b95aaa8fddde46a1e49cd83acc41 /pod/perlfunc.pod | |
parent | 155153a2c9d5bed36bc36bd8e91071d1d4a554f2 (diff) | |
download | perl-4ef62b4258ac6d7fc4187a2c98c8854e8045ab9c.tar.gz |
Add some closing parens I missed in the first pass
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 83d4fb6103..6149454c23 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -9768,12 +9768,12 @@ opposite of a L<C<shift>|/shift ARRAY>. unshift(@animals, "mouse"); # ("mouse", "cat") my @colors = ("red"); - unshift(@colors, ("blue", "green"); # ("blue", "green", "red") + unshift(@colors, ("blue", "green")); # ("blue", "green", "red") Returns the new number of elements in the updated array. # Return value is the number of items in the updated array - my $color_count = unshift(@colors, ("yellow", "purple"); + my $color_count = unshift(@colors, ("yellow", "purple")); say "There are $color_count colors in the updated array"; |