sub redefine_func { local (*func) = sub {return ("local value.\n")}; }