Well, you could do it the way Slash does it, which is pull blocks of code from a SQL server using the Perl::DBI interface, then eval those blocks of code.
Of course, I'm playing devil's advocate here. You shouldn't do it that way.
Cryptnotic
Comment on Re: Redefining Subroutines on the Fly in a Persistent Application