diff options
author | David Mitchell <davem@iabyn.com> | 2015-04-22 12:27:36 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2015-04-22 12:27:36 +0100 |
commit | a911bb254071ab7112c309e8245494c182ad9fe2 (patch) | |
tree | a5659d37c80df992bb956f0fa382227d8c132abf /op.c | |
parent | 6b7f14c2bfbcbd1e8b2192eaba403eb382f2c0cf (diff) | |
download | perl-a911bb254071ab7112c309e8245494c182ad9fe2.tar.gz |
s/.../$_++/ge assertion failure
The code that updated pos() on a match string assumed that it was SvPOK().
Cunning code like the following converted $_ to SvIOK only:
$_ = 0;
s/.?/$_++/ge;
Diffstat (limited to 'op.c')
0 files changed, 0 insertions, 0 deletions