Template Toolkit and
Mason both generate Perl code and then execute it later. So does
Parse::RecDescent, and probably a few dozen more famous modules that I can't recall at the moment.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.