summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2006-05-24 09:35:14 -0700
committerDave Mitchell <davem@fdisolutions.com>2006-05-25 00:21:21 +0000
commit39a14fad02382ad7256334689a46a1f17b6f766f (patch)
treeddb0e723556f72880fd751a8476ee66c0ebcb5bd /pod
parentf8f4df2cf8e87992bf31e881472eda35f193685f (diff)
downloadperl-39a14fad02382ad7256334689a46a1f17b6f766f.tar.gz
RE: perlhack.pod confused about POPSTACK
From: "Jan Dubois" <jand@activestate.com> Message-Id: <03ee01c67f8a$b4d6aca0$2217a8c0@candy> clean up davem's doc thinko of change #28292 p4raw-link: @28292 on //depot/perl: ed233832c7fe4d71f1f536650d0566b2e87ea46c p4raw-id: //depot/perl@28303
Diffstat (limited to 'pod')
-rw-r--r--pod/perlhack.pod6
1 files changed, 0 insertions, 6 deletions
diff --git a/pod/perlhack.pod b/pod/perlhack.pod
index df76d0f810..fc3c68638f 100644
--- a/pod/perlhack.pod
+++ b/pod/perlhack.pod
@@ -1355,7 +1355,6 @@ roughly how the tied C<push> is implemented; see C<av_push> in F<av.c>:
6 ENTER;
7 call_method("PUSH", G_SCALAR|G_DISCARD);
8 LEAVE;
- 9 (void)POPMARK;
The lines which concern the mark stack are the first, fifth and last
lines: they save away, restore and remove the current position of the
@@ -1397,11 +1396,6 @@ Perl space: C<call_method> takes care of that, and it's described in
L<perlcall>. We call the C<PUSH> method in scalar context, and we're
going to discard its return value.
- 9 (void)POPMARK;
-
-Finally, we remove the value we placed on the mark stack, since we
-don't need it any more.
-
=item Save stack
C doesn't have a concept of local scope, so perl provides one. We've