diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-10-24 15:50:23 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-24 16:18:40 -0700 |
commit | 2acc3314e31a9342e325f35c5b592967c9850c9b (patch) | |
tree | 9fb193068226872c7947a20c114b641a422d2bb2 /op.c | |
parent | e1be28b42dd83015ebd81dbeda258cc72f8dddf0 (diff) | |
download | perl-2acc3314e31a9342e325f35c5b592967c9850c9b.tar.gz |
[perl #77810] Scalars vs globs
Stop *{} from returning globs with the SVf_FAKE flag on.
It removes three tests from t/op/gv.t (that I added) that test buggy
edge cases that can no longer occur.
It also modifies tests in t/io/defout.t to keep them passing. I am not
sure that test script serves any purpose any more.
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7290,6 +7290,8 @@ Perl_ck_rvconst(pTHX_ register OP *o) #endif kid->op_private = 0; kid->op_ppaddr = PL_ppaddr[OP_GV]; + /* FAKE globs in the symbol table cause weird bugs (#77810) */ + SvFAKE_off(gv); } } return o; |