diff options
author | Scott Baker <scott@perturb.org> | 2023-01-24 10:00:53 -0800 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-02-07 23:42:19 +0800 |
commit | 376c059310e74ce8b9f3f45a3e9f92160939ca60 (patch) | |
tree | 6ef237b4f07e1deaf5a7a0ef76043833d87082af /pod/perlfunc.pod | |
parent | 9baf61eb9f3672d1f743ea0f4e5014045e15ea02 (diff) | |
download | perl-376c059310e74ce8b9f3f45a3e9f92160939ca60.tar.gz |
Remove the "technical" explanation
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 71972dd501..4565ac8ad0 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -6172,18 +6172,6 @@ L<C<push>|/push ARRAY,LIST>. say "There are $color_count colors in the updated array"; -A more technical explanation: - -Treats ARRAY as a stack by appending the values of LIST to the end of -ARRAY. The length of ARRAY increases by the length of LIST. Has the same -effect as - - for my $value (LIST) { - $ARRAY[++$#ARRAY] = $value; - } - -but is more efficient. - Starting with Perl 5.14, an experimental feature allowed L<C<push>|/push ARRAY,LIST> to take a scalar expression. This experiment has been deemed unsuccessful, and was |