A couple of weeks ago the QA team of perl http://qa.perl.org/
have announce the Phalanx project
They picked 100 modules considered the most important CPAN modules
so these modules will be the starting test suite of Ponie.
For this to be useful they want to increase the test coverage
of these modules as much as possible. (See details at
The idea is that we want to make sure these modules will be fully
functional on Ponie/Parrot as well. Having large test suits of
important CPAN modules helps the Ponie/Parrot team find their bugs.
As I use it quite a lot, I have volunteered to be the hoplite for
HTML::Template. Sam has agreed to take in patches if they
are reasonable. Of course this work is not for one person only
so I'd appreciate your participation and help as well.
As Sam probably won't have too much time to work on this I'll
try to make things as simple for him as possible and to ask
to implement the patches only once there is a substantial value in
Current status v2.6
There are 57 (actually 60 but the script reports 57) tests.
Based on the report of Devel::Cover the tests provide a 67.95% code
1) Start from the documentation and write tests based
on the documentation. (but keep the old tests)
2) use Test::More for these new tests.
3) Fix documentation based on your input.
4) Change the code if necessary to make it easier (or possible)
To make things clear I appreciate the great job done by Sam with
this module and I don't want to take over the module nor want I fork
it. (Though if Sam wants I'll be glad to start to maintain it.)
I have packaged the changes so far and it is available here:
I have added a couple of tests, the code and the documentation
has not been changed. I'd appreciate if you downloaded it and
tested it on your system.
Warning: This is not an official Sam Tregar release !
I'd also appreciate further input to this work.
 Actually I am doing similar work for CGI::Application too.