Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
Do you know where your variables are?
 
PerlMonks  

Re: dispatch table of functions and arguments

by fglock (Vicar)
on Sep 03, 2002 at 13:16 UTC ( #194757=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %func = {
        Click => {
            func => \&compute,
    ...
            func => \&compute2,
            param => [ @param2 ] },
    };
    
  2. or download this
    ----------
    
  3. or download this
    ----------
    
  4. or download this
        ...
        Click => {
            func => \&compute,
            param => \@param },
        ...
    
  5. or download this
        ...
        Click => [ \&compute, \@param ],
        ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194757]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2014-04-18 23:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (473 votes), past polls