return 0;
if (!(PL_op->op_private & OPpTRANS_IDENTICAL)) {
if (!SvPOKp(sv))
- (void)SvPV_force(sv, len);
+ (void)SvPV_force_nomg(sv, len);
(void)SvPOK_only_UTF8(sv);
}
chdir 't' if -d 't';
@INC = '../lib';
require './test.pl';
- plan (tests => 291);
+ plan (tests => 292);
}
use strict;
$dummy = $var =~ s/ //; check_count 's///';
$dummy = $var ~~ 1 ; check_count '~~';
$dummy = $var =~ y/ //; check_count 'y///';
+ $var = \1;
+$dummy = $var =~y/ /-/; check_count '$ref =~ y///';
/$var/ ; check_count 'm/pattern/';
/$var foo/ ; check_count 'm/$tied foo/';
s/$var// ; check_count 's/pattern//';