in reply to Re: how to declare a local *subname=sub{}?
in thread how to declare a local *subname=sub{}?

"There is an experimental feature named lexical_subs ... But as far as I know, the feature never left its experimental status ..."

This will probably be non-experimental in the next stable release (i.e. v5.26). See "perl5252delta: Lexical subroutines are no longer experimental".

Update: Added "[non-experimental lexical_subs]" to title.

— Ken