in reply to Re: Creating dispatch table with variable in function name
in thread Creating dispatch table with variable in function name
Ugh, forgot the ->() bit to actually call the function. The sub { "DUMMY" } output when printing the variable was also throwing me off.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Creating dispatch table with variable in function name
by choroba (Cardinal) on Nov 23, 2017 at 10:07 UTC |