This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_ctl.c:S_run_user_filter: remove GMAGICAL check
authorFather Chrysostomos <sprout@cpan.org>
Sat, 10 Aug 2013 01:14:31 +0000 (18:14 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 11 Aug 2013 14:50:22 +0000 (07:50 -0700)
commitdc423e963cc02ea1e95f95395eeecffac6e489eb
tree16208e3620fdb0cfc9e90203ec8b569f8e026756
parent2e8409ad08dc8f8f81c8bdba02f7423a301ff4e0
pp_ctl.c:S_run_user_filter: remove GMAGICAL check

We have already called get-magic at this point, so SvOK will give
the right answer even for magical variables.  Concatenating it when
gmagical could give an uninitialised warning if it is undef, so
we don’t want to do that, as it would cause magical and non-mag-
ical undefs to behave differently.  I don’t know how to write a
test for this.
pp_ctl.c