Welcome to the Monastery | |
PerlMonks |
Re^2: Creating dispatch table with variable in function nameby nysus (Parson) |
on Nov 21, 2017 at 19:52 UTC ( [id://1203944]=note: print w/replies, xml ) | Need Help?? |
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";
In Section
Seekers of Perl Wisdom
|
|