<?xml version="1.0" encoding="windows-1252"?>
<node id="194753" title="dispatch table of functions and arguments" created="2002-09-03 09:09:52" updated="2005-08-15 07:57:15">
<type id="115">
perlquestion</type>
<author id="191745">
Sihal</author>
<data>
<field name="doctext">
Dear Monks, 

I'm trying to build a dispatch table wich looks like this:
&lt;code&gt;
my %function_to_compute_taste_value = {
   ClickInterval   =&gt; \&amp;compute_interval ,
   ClickInterstice =&gt; \&amp;compute_interstice ,
   EffInactivity   =&gt; \&amp;compute_inact_and_expo_effective ,
   Exposure        =&gt; \&amp;get_exposure_service                   
} ; 
&lt;/code&gt;
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!

&lt;p&gt;&lt;b&gt;edited:&lt;/b&gt; Tue Sep  3 13:09:41 2002 by [jeffa] - code tags and spacing&lt;/p&gt;</field>
</data>
</node>
