in reply to
Code Generation with Perl?
We thought a lot about writing the book in whether to write the book in Perl, Ruby or Python. My take was that Perl programmers (of which I am happily one) would read a Ruby book and take it to heart, much more so than a Java programmer would read a Perl book.
If anyone wants to rewrite the code examples in Perl I will happily post them up on the Code Generation Network. In fact I will give a copy of the book to someone genuinely serious about re-implementing the examples in Perl.
BTW, Advanced Perl Programming has a section on code generation.
Author of Code Generation in Action