This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
introduce illegal symbols into null package so that gv_fetchpv(...,TRUE)
authorGurusamy Sarathy <gsar@cpan.org>
Sun, 16 Apr 2000 16:51:08 +0000 (16:51 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sun, 16 Apr 2000 16:51:08 +0000 (16:51 +0000)
commitf180df804d1cde858e3e94db2f42efcc697d07d9
tree57059df321dc566c4fb334953a3265cfeb2f679e
parentcc0fca54a8335062a27e12be15bddf587362a0b0
introduce illegal symbols into null package so that gv_fetchpv(...,TRUE)
always returns a valid GV even when the symbol is trapped by strictures
(avoids coredumps)

TODO: the C<package;> hack needs similar treatment

p4raw-id: //depot/perl@5908
embedvar.h
gv.c
intrpvar.h
perl.c
perlapi.h
t/pragma/strict-vars