in reply to Re: Creating subroutines on the fly
in thread Creating subroutines on the fly

You extend this a bit, and you have what is called an "API". You extend it further, and you get a mini language.

IMO, the original post isn't quite screaming (maybe loudly speaking) for a mini language, but if robustness is an important issue, a mini language may be in order. Using eval is one thing, and may be great if all interactions to that column in the db is through a perl programmer. Using a mini language allows you to go the extra step and allow anyone to update it, assuming you have enough flexibility in your library of subroutines.

Replies are listed 'Best First'.
Re^3: Creating subroutines on the fly
by skx (Parson) on Feb 16, 2005 at 18:18 UTC