and, another bug that cmop triggers but this doesn't
[gitmo/Package-Stash-XS.git] / Stash.xs
index 76c7eed..dec97df 100644 (file)
--- 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;