This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
FAKE typeglobs seriously busted (with patch)
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>
Wed, 28 Aug 1996 02:42:55 +0000 (02:42 +0000)
committerAndy Dougherty <doughera@lafcol.lafayette.edu>
Wed, 28 Aug 1996 02:42:55 +0000 (02:42 +0000)
commitb98941349ef30a9e2a7d1bbadf33c4ecf948a1ee
treed60f4755d8aad691f94b02f2518ee28301925822
parentf783569bc3d9005f69b42948872f9ac61fdd46fb
FAKE typeglobs seriously busted (with patch)

Handling of fake typeglobs (scalars that are really globs
in disguise) is seriously busted since 5.002 (it wasn't
so in 5.001n).

The problem is that mg_get() on a glob calls gv_efullname()
which might coerce its first arg to a string.
t/op/gv.t [new file with mode: 0644]