http://qs321.pair.com?node_id=431656


in reply to Re: Creating subroutines on the fly
in thread Creating subroutines on the fly

hi you dont need to use eval although it is probably safer,
my $subref = sub {print "hello"}; &$subref();