Sometime Today, Craig Manley assembled some asciibets to say:
> Seeing all the ideas about custom escape options, perhaps it's a
> good idea to redesign HTML::Template a little bit so that it stores
> a hash of escaper classname => object pairs. Each time a TMPL_VAR
> passes by with an escape option, HTML::Template converts that option
> (safely) to a classname such as HTML::Template::Escaper::XXXX. If
I think something like this was dicussed quite some time ago... about
having all escape=foo call a subroutine &escape_foo, or something like
that. I don't quite remember the exact details. Maybe someone else can
fill it in.
I've never been canoeing before, but I imagine there must be just a few
simple heuristics you have to remember...
Yes, don't fall out, and don't hit rocks.