p4raw-id: //depot/perl@29619
OP *lastop = NULL;
for (curop = LINKLIST(repl); curop!=repl; curop = LINKLIST(curop)) {
if (curop->op_type == OP_SCOPE
+ || curop->op_type == OP_LEAVE
|| (PL_opargs[curop->op_type] & OA_DANGEROUS)) {
if (curop->op_type == OP_GV) {
GV * const gv = cGVOPx_gv(curop);
is($c, "\x20\x30\x40\x50\x60", "s/[\\x00-\\x1f]//g");
}
{
- {
- local our $TODO = ${^TAINT} ? "doesn't work with taint mode" : 0;
$_ = "xy";
no warnings 'uninitialized';
/(((((((((x)))))))))(z)/; # clear $10
s/(((((((((x)))))))))(y)/${10}/;
is($_,"y","RT#6006: \$_ eq '$_'");
- }
$_ = "xr";
s/(((((((((x)))))))))(r)/fooba${10}/;
is($_,"foobar","RT#6006: \$_ eq '$_'");