in reply to Re: Optimization Help on Perl Hash Traversal (eval use)
in thread Optimization Help on Perl Hash Traversal (eval use)
Your example does not seem quite clear since it seems that the value of the subroutine is lost each time. We make a subroutine but where do we put the coderef? Do you mean, say:
$subs{$_} = sub { $_} for ... ?