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

Re: Using a regex as a hash key

by ikegami (Patriarch)
on Jun 06, 2007 at 17:00 UTC ( [id://619629]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $handler = $functions{$var1};
    if (not defined $handler) {
    ...
    }
    
    my $result = $handler->($var2);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found