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 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!my %function_to_compute_taste_value = { ClickInterval => \&compute_interval , ClickInterstice => \&compute_interstice , EffInactivity => \&compute_inact_and_expo_effective , Exposure => \&get_exposure_service } ;
edited: Tue Sep 3 13:09:41 2002 by jeffa - code tags and spacing
Back to
Seekers of Perl Wisdom