$var = "func1"; #call $var; sub func1 { print "here"; } [download]
In reply to Calling a subroutine from a scalar by metalgear119