summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 8c3da1450f..4830428da0 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -7685,6 +7685,9 @@ is C<undef>.
my @arr = (undef, 'two', 'three');
my $item = shift(@arr); # undef
+C<shift> will operate on the C<@ARGV> array in C<eval STRING>,
+C<BEGIN {}>, C<INIT {}>, C<CHECK {}> blocks.
+
Starting with Perl 5.14, an experimental feature allowed
L<C<shift>|/shift ARRAY> to take a
scalar expression. This experiment has been deemed unsuccessful, and was