Absolutely, but why didn't you publish?
Because, well... tests, pod, you name it... then, mainly because HTML::Writer is more a proof of concept than of productive use: because it is quite slow and because of inherent namespace pollution - all those functions derived from a DTD, yecch! security... I foresaw a lot of issues with that, and since chromatic pointed me to Technical Debt, I didn't dare to. Had somebody expressed interest to work that out with me into a module proper, with defined use cases and what not, making it more generic and so on... but no. At that time I had to move on, and other things to do. It rests in the vault of unfinished projects.
<update>
If you (as in "anybody") want to grab that code and make it into a CPAN module, feel free to do so. But please include references to tmoertel and me. And I would appreciate if you contact me (via PM here or my CPAN mail handle shmem-at-cpan.org) to discuss things. Thanks.
</update>
<update2>
The module is now on github and will eventually make its way to CPAN.
</update2>
FWIW I worked on a similar project, but took some other design decisions. (Attributes are not proper functions)
Publish or show, or it didn't happen ;-)
In reply to Re^3: Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
by shmem
in thread Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |