You are far from the first to want lexical subroutines. There's a source-filter using proof-of-concept in
. I don't recall there being any objection to actually implementing them in perl5 - it just hasn't happened to date (and may never, since it would be a lot of work and offer limited benefit over just using a lexical coderef).