in reply to Dynamic Subroutines
Try looking at the AUTOLOADER facility.
++
I could not find the correct link.
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."