I'm trying to figure out a straightforward way to call a subroutine using a variable containing the name. The below doesn't work when use strict is on but should help you see what I'm after.
$var = abc123;
&$var;
Any suggestions?
Code:
sub abc123 {print "I'm output from sub abc123"} $var = abc123;
&$var;
Any suggestions?