diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-08-23 14:54:34 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-08-23 14:54:34 -0700 |
commit | e59953eb69409565f494ecd850cd487996d84637 (patch) | |
tree | 62e3924dda61c57069f07ab4b1ef213c3686d900 /perl.c | |
parent | ce74145d973236b7a56fe8a090468f4c688c9062 (diff) | |
download | perl-e59953eb69409565f494ecd850cd487996d84637.tar.gz |
Stop readline($foo) from autovivifying
Currently <$foo> does not autovivify, but readline($foo) does, due to
the way pp_readline calls pp_rv2gv directly, with PL_op still holding
a pp_readline op, whose flags may have completely different meanings.
readline uses the OPf_SPECIAL flag to distinguish <$foo> from readline
($foo). rv2gv uses it to determine whether to autovivify; hence the
discrepancy.
Diffstat (limited to 'perl.c')
0 files changed, 0 insertions, 0 deletions