3 MODULE = Class::MOP::Package PACKAGE = Class::MOP::Package
8 get_all_package_symbols(self, filter=TYPE_FILTER_NONE)
16 if ( ! SvROK(self) ) {
17 die("Cannot call get_all_package_symbols as a class method");
20 if (GIMME_V == G_VOID) {
26 if ( (he = hv_fetch_ent((HV *)SvRV(self), KEY_FOR(package), 0, HASH_FOR(package))) ) {
27 stash = gv_stashsv(HeVAL(he), 0);
35 symbols = mop_get_all_package_symbols(stash, filter);
36 PUSHs(sv_2mortal(newRV_noinc((SV *)symbols)));
39 INSTALL_SIMPLE_READER_WITH_KEY(Package, name, package);