Re: Programs that code themselves

2005-05-16 Thread Chris Devers
On Mon, 16 May 2005, BJ wrote: > I was wondering how people approach problems that call for some of > [the] code to be generated on [the] fly. Yes. See perldoc -f eval You can build up a string with arbitrary Perl code, then eval it to execute it in place. People do this sort of thing all t

Programs that code themselves

2005-05-16 Thread BJ
I was wondering how people approach problems that call for some of teh code to be generated on teh fly. I think a simple example would be a program for a teacher that imports a file, students.txt and produces a tk form with each students name and a pull down menu with the 5 possible grades for