aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/error_handlers_with_gettext_can_clobber___36____64__.mdwn
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2014-02-21 13:16:23 -0400
committeradmin <admin@branchable.com>2014-02-21 13:16:23 -0400
commitabd644256e49368df9dbac614b3d835ff06b033f (patch)
treee27c4b0a6f08e34486e8b6dd7948ac426ee9f3ab /doc/bugs/error_handlers_with_gettext_can_clobber___36____64__.mdwn
parentc1c903c54c605316aeaeebd2e8279964baadbe0b (diff)
downloadikiwiki-abd644256e49368df9dbac614b3d835ff06b033f.tar
ikiwiki-abd644256e49368df9dbac614b3d835ff06b033f.tar.gz
fix branch template, add Try::Tiny references
Diffstat (limited to 'doc/bugs/error_handlers_with_gettext_can_clobber___36____64__.mdwn')
-rw-r--r--doc/bugs/error_handlers_with_gettext_can_clobber___36____64__.mdwn14
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/bugs/error_handlers_with_gettext_can_clobber___36____64__.mdwn b/doc/bugs/error_handlers_with_gettext_can_clobber___36____64__.mdwn
index 035346284..9615e0cfa 100644
--- a/doc/bugs/error_handlers_with_gettext_can_clobber___36____64__.mdwn
+++ b/doc/bugs/error_handlers_with_gettext_can_clobber___36____64__.mdwn
@@ -1,9 +1,9 @@
-[[!template id=gitbranch name=smcv/ready/careful-eval author="[[smcv]]"]]
+[[!template id=gitbranch branch=smcv/ready/careful-eval author="[[smcv]]"]]
[[!tag patch]]
-As noted in the Try::Tiny man page, eval/$@ can be quite awkward in
-corner cases, because $@ has the same properties and problems as C's
-errno. While writing a regression test for definetemplate
+As noted in the [[!cpan Try::Tiny]] man page, eval/$@ can be quite
+awkward in corner cases, because $@ has the same properties and problems
+as C's errno. While writing a regression test for definetemplate
in which it couldn't find an appropriate template, I received
<span class="error">Error: failed to process template
@@ -19,4 +19,8 @@ which turned out to be because the "catch"-analogous block called
gettext before it used $@, and gettext can call define_gettext,
which uses eval.
-Fixed in my branch smcv/ready/careful-eval. --[[smcv]]
+Fixed in my branch smcv/ready/careful-eval. Another possibility
+for fixing this would be to depend on something like Try::Tiny,
+which is already indirectly recommended by ikiwiki, because
+[[!cpan RPC::XML]], [[!cpan XML::Feed]], etc., depend on it.
+--[[smcv]]