From: Jesse Luehrs Date: Fri, 12 Nov 2010 23:44:31 +0000 (-0600) Subject: and, another bug that cmop triggers but this doesn't X-Git-Tag: 0.14~46 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fedea7f998b9610fb1f5b6b61058db1c50772d36;p=gitmo%2FPackage-Stash-XS.git 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. --- 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;