in reply to
Subroutines reference from data
What you are looking for is a
dispatch table
it is covered here on many many posts, take a look aroud
super search
for some examples.
-Waswas
Comment on
Re: Subroutines reference from data
In Section
Seekers of Perl Wisdom