Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Creating dispatch table with variable in function name

by nysus (Parson)
on Nov 21, 2017 at 19:22 UTC ( [id://1203938]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %dispatch = map { $_, \&{$_} } qw(first last user_id email create_p
    +assword);
    
  2. or download this
    my %dispatch = map { $_, \&{'_create_' . $_} } qw(first last user_id e
    +mail create_password);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-19 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found