if (defined &{$fn}) { &{$fn}($args); } else { $main::debug && print STDERR "(engine) undefined function $fn"; } }