summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-11-12 17:44:31 -0600
committerJesse Luehrs <doy@tozt.net>2010-11-12 17:46:28 -0600
commitfedea7f998b9610fb1f5b6b61058db1c50772d36 (patch)
tree337a16581925b80c0d9c0a9b18a3e6789057c85d
parentb55c97c24c906e671bb6c7b50bec64889b80f155 (diff)
downloadpackage-stash-xs-fedea7f998b9610fb1f5b6b61058db1c50772d36.tar.gz
package-stash-xs-fedea7f998b9610fb1f5b6b61058db1c50772d36.zip
and, another bug that cmop triggers but this doesn't
without this commit, i get a whole mess of Name "Class::MOP::Class::Immutable::Class::MOP::Class::add_package_symbol" used only once: possible typo at /home/doy/coding/src/Class-MOP/blib/lib/Class/MOP/Package.pm line 106. and i don't know why. i think it has something to do with minitrait application, but i'm not sure what.
-rw-r--r--Stash.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stash.xs b/Stash.xs
index 76c7eed..dec97df 100644
--- a/Stash.xs
+++ b/Stash.xs
@@ -375,7 +375,7 @@ add_package_symbol(self, variable, initial=NULL, ...)
}
*/
- glob = gv_fetchsv(name, GV_ADD, vartype_to_svtype(variable.type));
+ glob = gv_fetchsv(name, GV_ADDMULTI, vartype_to_svtype(variable.type));
if (initial) {
SV *val;