What I want to do now is call a subroutine of the same name stored in a scalar. If $recordID is "MED", I want to call &MED($recordFH). Saying &$recordID attempts to dereference the scalar. But it isn't holding a reference.
I can do this with switching (or nested if's), but I'm sure there is a more straightforward (magical) way.