http://www.perlmonks.org?node_id=194753

Sihal has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, I'm trying to build a dispatch table wich looks like this:
my %function_to_compute_taste_value = { ClickInterval => \&compute_interval , ClickInterstice => \&compute_interstice , EffInactivity => \&compute_inact_and_expo_effective , Exposure => \&get_exposure_service } ;
My question being: I want to pass very different args to each of these subs. I wonder If there is a really clean way to do it. Thanx a lot!

edited: Tue Sep 3 13:09:41 2002 by jeffa - code tags and spacing