http://qs321.pair.com?node_id=1203938

nysus has asked for the wisdom of the Perl Monks concerning the following question:

I'm creating a dispatch table. This works:

my %dispatch = map { $_, \&{$_} } qw(first last user_id email create_p +assword);

But this doesn't

my %dispatch = map { $_, \&{'_create_' . $_} } qw(first last user_id e +mail create_password);

How can I tack on a '_create_' before each function name?

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks