This is a live mirror of the Perl 5 development currently hosted at
Remove want_vtbl_{glob,symtab}, which aren't used and don't do anything useful.
authorNicholas Clark <>
Fri, 13 May 2011 16:29:09 +0000 (17:29 +0100)
committerNicholas Clark <>
Sat, 11 Jun 2011 08:12:18 +0000 (10:12 +0200)
Nothing visible on CPAN uses either. Passing either to Perl_get_vtbl() will
currently return NULL (as a runtime error, rather than a compile time error).

The case for want_vtbl_glob was removed from the switch in Perl_get_vtbl() in
c0c446747ad6c5bd (which eliminated the need for magic on typeglobs).
want_vtbl_symtab was added to the enum in perl.h with 8d2f45362e368d7d, but
no code was added to Perl_get_vtbl() as there is no corresponding vtable.


diff --git a/perl.h b/perl.h
index d00255b..af44fc5 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -4814,7 +4814,6 @@ enum {            /* pass one of these to get_vtbl */
-    want_vtbl_glob,
@@ -4833,7 +4832,6 @@ enum {            /* pass one of these to get_vtbl */
-    want_vtbl_symtab,