This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add comment at undef postinc special case
authorHugo van der Sanden <hv@crypt.org>
Tue, 18 Mar 2003 00:46:18 +0000 (00:46 +0000)
committerhv <hv@crypt.org>
Tue, 18 Mar 2003 00:46:18 +0000 (00:46 +0000)
p4raw-id: //depot/perl@19015

pp.c

diff --git a/pp.c b/pp.c
index ba6bf07..8e496c8 100644 (file)
--- a/pp.c
+++ b/pp.c
@@ -857,6 +857,7 @@ PP(pp_postinc)
     else
        sv_inc(TOPs);
     SvSETMAGIC(TOPs);
+    /* special case for undef: see thread at 2003-03/msg00536.html in archive */
     if (!SvOK(TARG))
        sv_setiv(TARG, 0);
     SETs(TARG);