my $subref = sub {print "hello"}; &$subref(); [download]
In reply to Re^2: Creating subroutines on the fly by hakkr in thread Creating subroutines on the fly by pander