Subject: | [PATCH] Stash.xs fails to compile with bleadperl |
A missing pair of parens causes Template-Toolkit 2.15 to fail to compile
with bleadperl. The following patch fixes the problem.
--- xs/Stash.xs.old 2006-10-23 10:22:37.000000000 -0500
+++ xs/Stash.xs 2006-10-23 10:23:22.000000000 -0500
@@ -499,7 +499,7 @@
}
/* drop-through if not an object or method not found */
- switch SvTYPE(SvRV(root)) {
+ switch (SvTYPE(SvRV(root))) {
case SVt_PVHV: /* HASH */
roothv = (HV *) SvRV(root);