Help for this page
my %code_cache; while (<>) { ... } $code->(); }
use Memoize; ... parse_to_actions($_)->($_); # pass the line to the generated sub # just in case it gets smart }