diff options
author | Yitzchak Scott-Thoennes <sthoenna@efn.org> | 2003-04-01 08:32:46 -0800 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-04-02 18:42:50 +0000 |
commit | 7f18b612425de6038ac70eda799f641227e16a64 (patch) | |
tree | 77f5e779bc2f95fb0295e9b1dd8bdf76df4cabb9 /pp.c | |
parent | 05f5af9aed1b243131a469af567639a4a449cc7f (diff) | |
download | perl-7f18b612425de6038ac70eda799f641227e16a64.tar.gz |
Re: [perl #21765] $s = ""; $n = @a = split(/,/, $s); results in undef $n
Message-ID: <u+ii+gzkgqkV092yn@efn.org>
p4raw-id: //depot/perl@19135
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -4778,12 +4778,10 @@ PP(pp_split) if (gimme == G_ARRAY) RETURN; } - if (iters || !pm->op_pmreplroot) { - GETTARGET; - PUSHi(iters); - RETURN; - } - RETPUSHUNDEF; + + GETTARGET; + PUSHi(iters); + RETURN; } PP(pp_lock) |