The attached patch was previously submitted directly to the maintainer
in November. I'm publishing it here now as official record, in case
other people are interested before an official release as made.
Primarily it brings the code up to date to be in sync with the current
load_tmpl() functionality of CGI::Application.
It also adds a default "c" parameter to correspond to the current
CGI::Application object. Since I developed the patch, I've realized
there may be a problem with this syntax in persistent environments,
because a circular reference is created with the CGI::Application object
refering to itself.
The system I noticed what that CGI::Session quit working properly
because the DESTROY {} method for those objects wasn't going out of
scope and being called when expected.
So I /don't/ recommend adding that part of the patch just yet, although
I would really, really like to find a way to provide the same syntax.
My personal workaround was leave the syntax in place, but always call
flush() explicitly on the CGI::Session object.
However, addressing the root issue would obviously be better!
Mark

This is resolved in version 0.04 and beyond. For whatever reason I
never could get your patch to work my local revision, but the changes
were easy enough to implement.
CAP::HTDot features now match stock CGI::Application (and have tests
to match). The parameter c is now passed to all templates....