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();
|
---|
In Section
Seekers of Perl Wisdom