in reply to Variable Sub Calls

Check out CGI.pm for real-world examples. It is chock full of exacly what you are trying to do.