Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Refactor method calls or not?

by tadman (Prior)
on Jan 18, 2002 at 23:11 UTC ( #139917=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Define appropriate "methods"
    my @dispatch_methods = qw [ company financialDiary ];
    
    ...
            map { $_ => dispatch_add{$_} } @dispatch_methods
        };
    }
    
  2. or download this
    $thing->{dispatch}->{company}->($param);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2021-04-23 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?