I only included the code I was having trouble with. :-) As I said in another reply, if all the code is in a text file it works fine. If I randomly move subroutines from the text file to the database, it seems, after pulling out about 20k of code eval seems to break. It boggles my neophyte Perl skills.