in reply to Programs that write programs

I don't know your intention, but Perl offers programming facilities apart from those moritz talked about that are better suited to solving certain problems because they take shortcuts through the costly cycle of writing out source to a file, launching a new Perl instance and compiling the whole file.

I'll mention code references (with which you can do amazing things), eval and Moose::Meta::{Class,Method}.

Replies are listed 'Best First'.
Re^2: Programs that write programs
by FelixGeator (Initiate) on Oct 28, 2011 at 10:34 UTC
    No intention just strange dream last night!
      One take on this is the "meta-circular evaluator":
    • Structure And Interpretation Of Computer Programs
    • Abelson & Sussman's celebrated sort-of-Scheme-fest. Bill Hails has done something similar from a perl p.o.v:
    • http://www.billhails.net/Book/