Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: dispatch table of functions and arguments

by fglock (Vicar)
on Sep 03, 2002 at 13:16 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://194757]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-20 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found