diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-14 10:38:35 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-07-14 10:38:35 +0000 |
commit | 01ec43d06089361423d61a40521883bf73e1944a (patch) | |
tree | a27dd1835fe39bd062de7cf4f0a40b35ecbb7e67 /op.c | |
parent | 631cfb58c2bd693774ee9ffe59908af4423167d4 (diff) | |
download | perl-01ec43d06089361423d61a40521883bf73e1944a.tar.gz |
enable UTF-16 filter by default if relevant BOM is seen; various
cleanups (typos, misformatted code, and small bugs)
p4raw-id: //depot/perl@6399
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2684,7 +2684,9 @@ Perl_pmtrans(pTHX_ OP *o, OP *expr, OP *repl) if (!squash) { if (t == r || (tlen == rlen && memEQ((char *)t, (char *)r, tlen))) + { o->op_private |= OPpTRANS_IDENTICAL; + } } while (t < tend || tfirst <= tlast) { @@ -4467,7 +4469,7 @@ Perl_newATTRSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) * skipping the prototype check */ if (exists || SvPOK(cv)) - cv_ckproto(cv, gv, ps); + cv_ckproto(cv, gv, ps); /* already defined (or promised)? */ if (exists || GvASSUMECV(gv)) { SV* const_sv; |